I want to make a C++ file distributable. How do I do that? Can someone provide me with a link?
I want to make a C++ file distributable. How do I do that? Can someone provide me with a link?
.cpp files are always distributable. All you do is give someone the source and tell them to compile it themselves. If your code is portable, then you don't even care whether they have the same OS as you.
If you've compiled it to an executable (which isn't linked with any DLL files), then you can just give whoever you want the .exe file, and providing they have the same OS, then all is well.
I want to create a setup to install this executable to the PC though.
Look for a (free) installer program, like Inno
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Yeah, Inno is much cooler than the installer that came with MSVC 7.1. Thanks for the link!