Menu

How can i make a stand-alone executable

WaxWing
2007-09-12
2012-09-26
  • WaxWing

    WaxWing - 2007-09-12

    i am fairly new to programming, but when a make a program or a computer game, i would like to distribute it to my friends. in order to do this i would need to create a stand-alone executable. how do i go about doing this. (step by step instructions would help. thank you very much!

     
    • Wayne Keen

      Wayne Keen - 2007-09-12

      When you compile your code, you creat the stand-alone executable you seek.

      C++ is not an interpreted language (like QBasic was), so you can not run your program WITHOUT creating a stand-alone executable.

      Wayne

       
    • Anonymous

      Anonymous - 2007-09-13

      In your project folder you will find a <projectname>.exe file. That is your standalone executable. You always had one - that was what you have been running from the IDE all this time. Running from teh IDE was never obligatory.

      Before distribution you will probably want to re-build with debugging switched off and 'stripping' switched on, and possibly some optimization level.

      Clifford

       
    • WaxWing

      WaxWing - 2007-09-13

      Thank you very much, you have both been very helpful
      :)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.