Course details
C
Learn where C fits, set up a compiler, and master variables, types, operators and control flow in modern C (C11/C17). Every lesson grows the same small program: a logger for a greenhouse sensor board.
Course curriculum
Introduction to C3 lessons
See where C is used today, how it relates to the assembly beneath it, and how it differs from its descendant C++.
Setting Up3 lessons
Get a working C toolchain on your machine, build and run your first program from the terminal, and set up an editor that checks your code as you type.
Variables3 lessons
Tell declarations from definitions, give every variable a starting value, and print values correctly with printf's format specifiers.
Data Types5 lessons
Choose integer widths, work with floating-point numbers, treat characters and booleans as the small integers they are, predict conversions, and use qualifiers to make promises about a variable.
Operators5 lessons
Work confidently with arithmetic, comparison, logical, conditional and bitwise operators, and learn the precedence traps that catch everyone once.
Control Flow3 lessons
Choose between if and switch, pick the right loop for the job, and steer loops with break and continue while processing the logger's readings.
