How do I make an executable file

This is a discussion on How do I make an executable file within the C++ Programming forums, part of the General Programming Boards category; I'm using Microsoft Visual c++, dos prompt program. How do I create an executable to save to disk?? There are ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    74

    How do I make an executable file

    I'm using Microsoft Visual c++, dos prompt program. How do I create an executable to save to disk?? There are text fils used in the program if that makes a difference. Thanks!

  2. #2
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,088
    Did you compile and link a program? Are you able to run this program from VC++? If yes, then there already is an executable. If you are building the Win32 Debug configuration (the default), then the .exe file is in the Debug directory under the folder where the source files are placed. If you want an optimized faster smaller version of the exe, change your active configuration to Win32 Release and look in the Release directory.

    Hope that's what you meant.

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    74
    yes, jlou, that answers my question. unfortunately, i've come to realize that since i have the introductory verision of vc++, i cannot utilize the exe. I also have Borland, which is not the intro version, so I'm trying to figure it out on that. Do you know?

  4. #4
    Registered User
    Join Date
    Oct 2003
    Posts
    7
    when you're isung borland yo can go to the run menu an then select "build 'my program'" then it'll be in your project directory.....

  5. #5
    Registered User
    Join Date
    Oct 2003
    Posts
    7
    i'm sorry for the mistake.......

  6. #6
    Registered User
    Join Date
    May 2002
    Posts
    74
    I tried that (building in Border) of course, but there is no exe file in my project folder ?!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 08:35 AM
  2. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  3. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 01:53 AM
  4. Simple File encryption
    By caroundw5h in forum C Programming
    Replies: 2
    Last Post: 10-13-2004, 10:51 PM
  5. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM

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