how to compile c++ in windows code example
Example 1: c++ compile to exe command line
gcc sourcefile_name.c -o outputfile.exe
Example 2: compile c++ in cmd windows
- To compile : gcc sourcefile_name.c -o outputfile.exe
- To run : outputfile.exe