Get the most from each lesson's compiled editor—the same habits transfer to VS Code, gdb, and CI running gcc -Wall -Wextra.
Recommended workflow
- Read the concept section before editing code.
- Click Run to compile with
gccand execute. - Use
printfwith format specifiers (%d,%s,%p) for debug output. - Fix warnings immediately—they often signal real bugs in C.
What the runner can and cannot do
- Can — single-file
main.cwith standard headers - Needs local setup — multi-file Make projects, cross-compilers, hardware GPIO
Review JavaScript, Java, and Rust for comparison context.
Self-check
- What function prints to stdout in C lessons?
- What flag enables common warnings with gcc?
Challenge
First compile and run
- Click Run with the default code.
- Confirm output appears in the terminal.
- Add a second
printfwith your name.
Done when: the terminal shows the default message and your custom line.
Challenge
Verify compile output
- Run the default program.
- Confirm output in the terminal.
- Add a deliberate unused variable and observe -Wall.
- Fix and run again.
Done when: you see compiler warnings when appropriate and clean output after fixing.
Interview prep
- What compiler flags should beginners enable?
-std=c11 -Wallat minimum; add-Wextraand-glocally for deeper diagnostics and debugging.