how to run cpp file
# Open Terminal:
# Type:
g++ --version
# If the command is not recognized:
sudo apt-get install g++
g++ --version # should work now
# If the command is recognized
mkdir tmp
cd tmp
touch main.cpp
# open main.cpp using vi, vim, gedit, etc
# Type in a hello world program:
# https://www.tutorialspoint.com/cplusplus-hello-world-program
# Once this has been done, type in:
g++ main.cpp
./a.out