A Modern C++ Tour

Compile with gcc/clang, understand the toolchain, and write your first C++20 program.

Beginner
Key PointsCompile iostream code with g++ -std=c++20; build real projects with CMake.
C++
#include <iostream>

int main() {
    std::cout << "Hello, BackendWiki!\n";
    return 0;
}
Bash
g++ -std=c++20 -O2 -Wall main.cpp -o app
./app
C++ has no package manager in the standard; use vcpkg or Conan for third-party libraries.

Friends & Partners