← C++ Programming learning path
C++ Programming · Module 1 of 10

Getting started with C++

C++ is a fast, powerful language used for systems, games and competitive programming.

📖 Key ideas

  1. C++ extends C with classes, templates and a rich standard library.
  2. Compiled to machine code for high performance.
  3. Hello world: #include <iostream> and std::cout << "Hello";
  4. Compile with g++ main.cpp -o main, run ./main.
  5. Used in game engines, browsers, databases and trading systems.
💡 Real-life example: C++ is a sports car with a manual gearbox: very fast, but you control every detail.
CompilerTurns source into machine code
iostreamHeader for input/output
std::coutStandard output stream
main()Program entry point