Author: Eric Latham
Email: [email protected]
The k+r/
directory contains my solutions to exercises listed in the book, The C Programming Language, 2nd Edition by Brian Kernighan and Dennis Ritchie.
Source code files containing my solutions are named in the format e<chapter number>_<exercise number>.c
, and program descriptions are included at the top of each solution.
If you're running a linux system with gcc and make installed, the provided Makefile
is all you need.
To compile all of the exercise solutions: run the command make
from the k+r/
directory.
The resulting executable files will have the same names as their respective source code files, except that the .c
will not be included.