Sunday, July 26, 2009

Turning c++ into exe?

ok i already have dev c++ i compiled it ran it and everything but i want to turn it into a c++ exe that i could send to someone and they can just run it i know you can do this i did it to a couple other programs i just kinda forgot


sorry for the poor grammer didn't really feel like trying

Turning c++ into exe?
I have dev-C++4. In the center of its upper task bar there is a button with a green checkmark for compiling your source code. To its immediate right is another button that looks like a thumbnail photo of a typical Windows page (with a blue bar across the top). It is for running your source code.





Once you have run your program, the .exe file that was generated will have an icon that looks like the 'run' button.
Reply:Sorry I can't help you there I've only used dev C++ a couple times but I didn't like it, you should try out Microsoft Visual C++ 2008 Express Edition it's free and easy to use. (you might want to register it after you get it or it will expire after a month, which is still free). On Microsoft Visual C++ 2008 Express Edition to turn it into a file all you have to do is compile it in release mode.
Reply:Hey; there should be an option for "build" or "compile" in the menu bar, somewhere. Compile it with a unique name and use Windows search to find it.





(What I'd alternatively recommend is using GCC under Cygwin, or even just installing a tiny Linux partition, but Visual Studio is a great IDE for those who can afford the full version.)


No comments:

Post a Comment