Title here
Summary here
Our first program will print the classic “hello world” message. Here’s the full source code.
To run the program, save the code in a file named hello-world.cpp
and compile it using a C++ compiler like g++
.
Sometimes we’ll want to build our programs into binaries. In C++, compiling the code as shown above already produces a binary that can be executed directly.
We can then execute the built binary directly.
Now that we can run and build basic C++ programs, let’s learn more about the language.