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.
01
What C is and how a program becomes a binary
source, four build stages, C23 default, exit status
Open
02
Install the toolchain
gcc, make, cmake and gdb on Alpine; versions and first builds
Open
03
Your first program
editor, edit-compile-run loop, printf, stdin, exit status
Open
04
Comments and code style
comments that explain why, names, guards, named constants
Open
05
Variables and fundamental types
int, double, char, _Bool, sizeof, division
Open