compiling c++ program in ubuntu code example
Example 1: compile c++ linux
g++ foo.cpp -o foo //plus other extension like the opencv to compile correctly
Example 2: how to run c in linux
gcc hexdump.c -o hexdump //hexdump is an example for a file name