command to compile c++ code example
Example 1: compile c++ linux
g++ foo.cpp -o foo //plus other extension like the opencv to compile correctly
Example 2: c++ compile to exe command line
gcc sourcefile_name.c -o outputfile.exe
g++ foo.cpp -o foo //plus other extension like the opencv to compile correctly
gcc sourcefile_name.c -o outputfile.exe