Caffeinated Coder
Book an appointment
Lesson 01 · Basics

What C++ is: compile and run

C++ is a compiled language: before a program can run, the text you write is turned into machine code your CPU understands. Follow a five-line hello world as one command sends it through the preprocessor, the compiler and the linker into an executable file, then run it, and see the difference between a compile error and a run-time error.

9 min9 steps5 questionsBeginner
Fig 1 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.