From b221b3bbd15a0fba82745350eb1d9353ab731547 Mon Sep 17 00:00:00 2001 From: AustrianToast Date: Thu, 23 Nov 2023 00:18:02 +0100 Subject: [PATCH] add section added section on how to use this program --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3188045..5aff455 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ # sort_c -I am learning C by implementing as many sorting algorithms as I want \ No newline at end of file +I am learning C by implementing as many sorting algorithms as I want + +## How to use + +First you have to clone this repository +```bash +git clone https://gitea.hopeless-cloud.xyz/AustrianToast/sort_c.git && cd sort_c +``` +Now you should be inside the downloaded repository.
+To compile this you can execute +```bash +gcc -o main main.c +``` +Now you can run it like this +```bash +./main +``` \ No newline at end of file