compiling a c++ program in linux code example
Example 1: compile c++ linux
g++ foo.cpp -o foo //plus other extension like the opencv to compile correctly
Example 2: linux c++ from console
g++ program.cpp
make program
./program
g++ foo.cpp -o foo //plus other extension like the opencv to compile correctly
g++ program.cpp
make program
./program