+ 1
c++ and cmd
How i can run my c++ file with comand prompt??
5 Antworten
+ 9
"path/filename.exe"
+ 8
AndreasZ .exe file will be created automatically when your code will compile successfully
+ 1
For example with GCC:
Create executable file from source file main.cpp:
g++ -o output_file.exe main.cpp
Run executable file:
./output_file.exe
0
how i can create an .exe file?