Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 908 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 908 Bytes

Learn the C programming language with me 😄

This repo contains all of the code that I have been writing to learn C

  • 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.

Installation

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.

Example

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

Start leaning! 😉