Results 1 to 5 of 5

Thread: How to make exe file from c++

  1. #1
    Join Date
    Dec 2008
    Posts
    39

    How to make exe file from c++

    hi,
    I use Microsoft's "Visual C++ Express Edition" for my programming.i want to know that how to make an exe file using C program.i downloaded VS and wrote my program and compiled it with no errors. The result was a bunch of files but no .exe file.I was wondering how you can save a solution/project as a .exe or installer file to run on other computers. I have already tried using the MSDN site for help, but it does not give me anything.

  2. #2
    Join Date
    May 2008
    Posts
    4,345

    Re: How to make exe file from c++

    hi,
    In the "Debug" or "Release" directory (depending on the build).Go to project properties you'll notice that there is an "Output Directory" and this isdifferent for different kinds of builds. These directories are relativeto where your ".vcproj" file or your ".dsp" file is.

  3. #3
    Join Date
    Jan 2008
    Posts
    3,755

    Re: How to make exe file from c++

    Choose build from the from theBuild Menu in the menu bar. It will generate a directory, inside the directory where the project is, in which you ca find your EXE file(the name is the name of your compile option : DEBUG or RELEASE MIN SIZE, etc.). get a compiler visual C++, then use the old DOS prompt to build it (run compiler with the filename).

  4. #4
    Join Date
    May 2008
    Posts
    4,345

    Re: How to make exe file from c++

    Just simply compile and run the code using any compiler such as TC++.It will create an .exe file for ur program.exe files can only be run... Keep the source code file.

  5. #5
    Join Date
    May 2008
    Posts
    4,570

    Re: How to make exe file from c++

    Follow this step to create exe file
    • Open Notepad on your computer. Notepad is located in the "Accessories" folder of the computer's "Program Files".
    • Hold down the "Alt" key and use the number pad to type in every 3-digit combinations from 000 to 999. After each 3-digit combination, release the "Alt" key.
    • Make notes on what keys produce what symbols. You can make a list of all of the 3-digit combinations or just a list of the ones you need. In Notepad, these combinations are the only way to get certain symbols.
    • Type the "exe" file for the program you want to create from the programming language into Notepad. Type the file in C++ programming language. Use the "Alt" and the 3-digit combinations to create symbols that do not appear on the keyboard but that you need in the program.
    • Save the file as a text file until you complete the "exe" program. Be aware that it may take a long time to type every line of code in the "exe" program.
    • Click on "File" and then choose "Save." In the extension drop-down menu, choose "exe." Name the file and click the "Save" button. Locate the file you saved and double-click it to run the "exe" file.

Similar Threads

  1. make file name list in excel using batch file
    By shibinpanayi in forum Windows Software
    Replies: 1
    Last Post: 04-06-2011, 03:44 AM
  2. How to make changes in web.config file in asp.net
    By Meditation in forum Software Development
    Replies: 6
    Last Post: 26-02-2011, 09:56 AM
  3. How to make a .INF file?
    By Esmel in forum Software Development
    Replies: 6
    Last Post: 28-08-2010, 12:33 PM
  4. Replies: 3
    Last Post: 16-07-2009, 01:29 PM
  5. how to make a WIM xp file
    By Zadora in forum Operating Systems
    Replies: 3
    Last Post: 14-03-2009, 01:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,031,421.99839 seconds with 16 queries