Functions and builds

This part of the C course turns a file of statements into a program built from functions and several translation units: parameters and return values, scope and storage, headers and the linker, and then make and CMake, which build the whole thing with one command.

4.1 Functions parameters, return values, prototypes, pass by value Open 4.2 Scope and storage blocks, static, extern, storage duration, lifetime Open 4.3 Multi-file programs headers, translation units, linking, include guards Open 4.4 Makefiles targets, prerequisites, variables, pattern rules, phony targets Open 4.5 CMake project, targets, out-of-source builds, tests and install Open

Lessons