-
Every bit of code here, is inspired by the K&R book, which I have been using to learn C.
-
Every file in this repo is independent of all the other files.
-
The files are arranged chapter-wise for better clarity.
-
I will be adding more as I learn.
git clone https://github.com/iamhrigved/learn-c.git ~/learn-c
cd ~/learn-c
source runc.sh
Note: It is recommended to source the runc.sh
file and use its runc
function to generate binaries.
cd ~/learn-c/chapter-01
runc ./counting1.c # will generate the binary `chapter-01/executables/counting1` and run it
OR
cd ~/learn-c
runc ./chapter-05/my_sort.c # will generate the binary `chapter-05/executables/my_sort` and run it