Getting started

This part of the C course starts with the language itself and with the toolchain that turns a text file into a program: GCC, make, CMake and gdb on Alpine Linux. It builds the first program, reads a source file line by line, and closes with the comments and names that keep a file readable and with the fundamental types a variable can have.

1.1 What C is and how a program becomes a binary source, four build stages, C23 default, exit status Open 1.2 Install the toolchain gcc, make, cmake and gdb on Alpine; versions and first builds Open 1.3 Your first program editor, edit-compile-run loop, printf, stdin, exit status Open 1.4 Comments and code style comments that explain why, names, guards, named constants Open 1.5 Variables and fundamental types int, double, char, _Bool, sizeof, division Open

Lessons