Lesson 2 of 50 · c
Setting Up a Development Environment
Duration: 10 mins
You need a compiler (gcc, clang, MSVC) and a text editor/IDE (VS Code, CLion, Vim). The typical tool‑chain is:
- Pre‑processor – expands macros.
- Compiler – translates source to assembly.
- Assembler – turns assembly into object files.
- Linker – creates the final executable.
Linux/macOS ships with gcc/clang. Windows users can install MSYS2, MinGW, or WSL.