eolatham / c-exercises

A collection of small coding exercises in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C Exercises

Author: Eric Latham

Email: ericoliverlatham@gmail.com

Description

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.

Compiling

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.

About

A collection of small coding exercises in C


Languages

Language:C 97.2%Language:Makefile 2.8%