compile c++ windows terminal code example Example: terminal compile c++ g++ -o file file.cpp //or file.c