cyrilou242 / theCBook

The C Book exercices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

theCBook

The C Book is a book about C.
Mike Banahan, Declan Brady, Mark Doran
January 1991

This repository implements the different exercices.
All implementations are made on my own without any other documentation and for sure are perfectible.
I try to code considering the state of knowledge available at the point of the book where the exercise is given.
Feel free to propose better solutions if they are low level, C idiomatic, or with better performance (for arithmetic or computer related reasons).

This is a side project to get a better understanding of the underlying implementation of C. My local repository may be several commits ahead the github repository.

Chapter 1: An introduction to C

Exercise 1.1: exercise1.1.c
Exercise 1.2: exercise1.2.c
Exercises 1.3, 1.4 and 1.5: exercise1.345.c

Chapter 2: Variables and Arithmetic

Exercises 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9: exercise2.123456789.md
Implementation of Example 2.2 for Exercises 2.10+: exercise2.10.c
Exercises 2.10, 2.11, 2.12, 2.13, 2.14: exercise2.1011121314.md

About

The C Book exercices.

License:MIT License


Languages

Language:C 96.7%Language:CMake 3.3%