c++ command linus code example
Example 1: linux c++ from console
g++ program.cpp
make program
./program
Example 2: how to run c in linux
gcc hexdump.c -o hexdump //hexdump is an example for a file name
g++ program.cpp
make program
./program
gcc hexdump.c -o hexdump //hexdump is an example for a file name