distributing programs

Feb 14, 2011 at 12:53am
closed account (jw6XoG1T)
so i just finished making a very simple game in VS. The problem however is that i want to be able to share it with my friends and send it to other people so they can play it on their computers. How would i go about doing all that?
Feb 14, 2011 at 12:57am
You'll need to perform a release build, possibly statically linking any libraries you are using. Then go get the executable from your project folder and distribute it.
Feb 14, 2011 at 1:25am
closed account (zb0S216C)
Torrent? Downloading torrents isn't illegal unless you give permission and that the contents of the torrent is yours. I recommend The Pirate Bay. Loads of people use that. :)
Feb 14, 2011 at 1:49am
Or distribute the source files, and let them compile it.
Feb 14, 2011 at 3:46am
closed account (jw6XoG1T)
How would i do what Zhuge said?
Feb 14, 2011 at 11:58am
Go to the compile options and select "Release Build" instead of "Debug Build". Compile your program.

Next, you'll want to know what DLLs your program uses. Read more here:
http://www.cplusplus.com/forum/beginner/31106/#msg168431

Now all you have to do is copy your program's EXE and all the required DLLs into a directory on the target computer. I recommend using an install program like Inno Setup, but you can also just copy everything you plan to distribute into a directory on your own computer and zip it up using something like WinZip or 7Zip.

Good luck!
Topic archived. No new replies allowed.