How do I create an .exe file w/MSVisualC++

This is a discussion on How do I create an .exe file w/MSVisualC++ within the C++ Programming forums, part of the General Programming Boards category; I got a new professor here that requires us all to email to him our code in an executable file. ...

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    1

    How do I create an .exe file w/MSVisualC++

    I got a new professor here that requires us all to email to him our code in an executable file. He won't tell us how. Just says, " If you don't know by now, you better figure it out fast."
    Im using Microsft Visual C++.
    Thanks....

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Create a new console app project (File->New).

    Add the source files...(project->add to project->files)

    Create the program(Build->Build)

  3. #3
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    "Build" in VC++ is the process of compiling and linking the project into an executable. You will find the exe in the projects subdirectory, either WinDebug or WinRelease depending on what version you are building.


    Edit: just recognizing that Fordy beat me to it.

  4. #4
    esmatrixx
    Guest
    Hey guys,
    thanks for the help.... gotta go build some 'classes' now.

  5. #5
    Nick
    Guest
    Why would your professor want the exe? You could
    be programming in pascal and he wouldn't know the difference.

  6. #6
    . Driveway's Avatar
    Join Date
    May 2002
    Posts
    469
    Yeah. I'm guessing he also wants the .cpp, just so he doesn't have to compile it himself. Why would he need to though?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File Writing Problem
    By polskash in forum C Programming
    Replies: 3
    Last Post: 02-13-2009, 09:47 AM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 04:02 AM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 09:46 AM
  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