The code examples are used for teaching C programming at an intermediate level.
Each example is compilable using QtCreator by opening the related .pro file or the related GNU Makefile for gcc compiling C99.
Some unit test code examples are available:
- Using the Unity unit test library. Unity is written in 100% pure C code. It follows ANSI-C standards.
- Using the Catch2 unit test library in a single header file. Catch2 is written in C++11.
In every Makefile the compiler flag -g is used. Some gdb launches are available in .vscode/launch.json.