Skip to content

A collection of small coding exercises in C

Notifications You must be signed in to change notification settings

eolatham/c-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks