C++ Tutorial

The ‘Hello World’ program is a common example that can be simply used to check compiler and library presence. It uses the C++ standard library, with std::cout from <iostream>, and has only one file to compile, minimizing the chance of possible user error during compilation.


The process for compiling a C++ program inherently differs between compilers and operating systems. The topic Compiling and Building contains the details about how to compile C++ code on different platforms for a variety of compilers.