Mitchell shows us how to compile in the Linux Terminal. This video is especially applicable to Ubuntu and Elementary OS, but it is also extremely similar in other distributions such as Mint, Fedora, Debian, etc.
Note: Clang was used to compile with the command:
clang++ HelloWorld.cpp -o HelloWorld
To compile with g++ (C++ version of gcc) use:
g++ HelloWorld.cpp -o HelloWorld
آی-ویدئو