+ 2

How to convert a c/c++ code to exe ?

??

22nd Apr 2018, 6:04 PM
Pragati Mahajan
Pragati Mahajan - avatar
2 Answers
+ 15
First you need to get a C++ compiler. Start a new project in Visual C++.Copy and paste all of the .cpp files into the "Source Files" directory, and copy-paste all the .h files (if there are any) into the "Header Files" directory. Build and compile.Find the exe file.Test it.If you want the program to run on another computer as well, that computer must have VC++ Runtime libraries installed. SOURCE: https://www.wikihow.com/Compile-CPP-File-to-EXE
22nd Apr 2018, 6:08 PM
Baraa AB
Baraa AB - avatar
+ 1
Beause your question is very basic i suggest a search on Google... You will find faster your answer, more i add some useful links: https://code.sololearn.com/WaVusr8J1KvK/?ref=app
23rd Apr 2018, 8:14 AM
KrOW
KrOW - avatar