Code: #include <iostream> #include <fstream> std::ofstream outfile ("test.exe"); outfile << "ok" << std::endl; outfile.close();
Well, seeing as no one else provided a helpful post. You need a C/C++ compiler. Use Microsoft's C/C++ compiler integrated with the Visual Studio IDE.
Originally Posted by RaptorEaglex How to create an exe file using C++. Help compile at top of tab make sure it is on "release" and not "debug"
Originally Posted by R3Dx666 compile at top of tab make sure it is on "release" and not "debug" >> Implying debug doesn't create an executable.
Originally Posted by Hitokiri~ >> Implying debug doesn't create an executable. reread what i put i said make sure he got it on "release" in drop down box
Originally Posted by R3Dx666 reread what i put i said make sure he got it on "release" in drop down box >> Implying debug doesn't create an executable.