0
How to make a .cpp file into .exe file
8 Réponses
+ 2
The cpp file is the file you typed in, the source code from which you produce your program. You don't want to delete it.
Look for another file in the same folder that has the same name as your cpp file but has the .exe extension.
+ 1
You have to compile your file for that. Which IDE are you using? CodeBlocks? C++ Dev?
+ 1
In C++ Dev, you can compile in Execute > Compile (shortcut: F9).
+ 1
Yes, providing they are using the same architecture (a program compiled for Windows won't work on a Mac for example).
0
C++ dev
0
After compiling the extension remains . Cpp but i have to make a permanent . Exe
0
If i move only that exe file to another pc will it work?
0
your compiler makes object files(*.o in Unix like os). after that a program called linker(usually provided by compiler supplier) generates executable file.