Modern C

Code written while reading the book "Modern C" by Jens Gustedt.

Setup

  1. git clone <url>
  2. asdf install
  3. make or ./run.sh <name>

Useful Commands

asdf install
direnv allow

./run.sh <name>

c99 -o <name> <name>.c -lm

clang -Wall -lm -o <name> <name>.c

gcc -std=c99 -Wall -lm -o -Wall -lm -o <name> <name>.c

icc -std=c99 -Wall -lm -o -Wall -lm -o <name> <name>.c

man printf

man 3 printf

Useful Resources