C++ keeps all of C's raw power and adds classes, objects and a giant standard library.
1 C, supercharged
Almost every C program is valid C++. C++ keeps the speed and adds features on top.
2 Objects & classes
Bundle data and behaviour into your own types — the heart of this course.
3 The STL toolbox
Containers like vector and algorithms like sort ship with every compiler.
4 Runs everywhere
Game engines, browsers, databases — C++ dominates performance-critical software.
Why learn C++?
C, supercharged1Almost every C program is valid C++. C++ keeps the speed and adds features on top. Objects & classes2Bundle data and behaviour into your own types — the heart of this course. The STL toolbox3Containers like vector and algorithms like sort ship with every compiler. Runs everywhere4Game engines, browsers, databases — C++ dominates performance-critical software. 4 building blocks make up Why learn C++?
1979 C with Classes
Bjarne Stroustrup starts adding classes to C at Bell Labs.
1985 C++ is born
The first official release ships — and the name sticks.
1998 ISO standard
C++98 becomes the first internationally standardized version.
2011 C++11
auto, lambdas and range-for drag the language into the modern era.
2014+ C++14 / 17
The language now evolves in steady three-year waves.
Press Run and follow hello.cpp on its journey from text file to running program.
Press play — watch cout stream values out and variables appear in memory.
preprocessThe preprocessor pastes in iostream — it declares cout and endl.
Memory
no variables yet — press play
Console
output appears as the program runs…
Click a term, then click its description to lock the pair.
4 conceptsTap a card to expand ?printfdrops into place
?structdrops into place
?malloc / freedrops into place
?std::coutdrops into place
Two cout lines — what do they print? Type your guess, then check.
Your predicted output — one line per console line
Hint: age becomes 20 first. The second line adds 1 more while printing.
01C++ = C plus classes, objects and the STL toolbox.
02g++ builds: source → preprocessor → compiler → linker → executable.
03std::cout << streams values — chain as many << as you like.
04std:: is the standard library namespace — cout, string and vector all live there.