Distributable File

This is a discussion on Distributable File within the C++ Programming forums, part of the General Programming Boards category; I want to make a C++ file distributable. How do I do that? Can someone provide me with a link?...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    56

    Distributable File

    I want to make a C++ file distributable. How do I do that? Can someone provide me with a link?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,541
    .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.

  3. #3
    Registered User
    Join Date
    Jul 2005
    Posts
    56
    I want to create a setup to install this executable to the PC though.

  4. #4
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    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.

  5. #5
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Yeah, Inno is much cooler than the installer that came with MSVC 7.1. Thanks for the link!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  2. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  3. archive format
    By Nor in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 01:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21