how to make a cpp file to a exe code example Example: c++ compile to exe gcc sourcefile_name.c -o outputfile.exe