linux c++ from console

Shell
g++ program.cpp
make program
./program
Source

Also in Shell: