943,829 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 318
  • C++ RSS
Jul 2nd, 2009
0

peterb

Expand Post »
Hi

I'm new to MSVC. I've entered a program into the IDE and it's compiled successfully, but no executable is generated and when I hit CTRL&F5 I get a dialogue window asking me for an executable filename, which when I try to enter it won't accept .. any thoughts

Peter
Reputation Points: 10
Solved Threads: 0
Newbie Poster
peterbrowse is offline Offline
1 posts
since Jul 2009
Jul 2nd, 2009
0

Re: peterb

To generate an executable you should 'Build' it, compiling is not enough.
If you've compiled it, you still have to 'link' it to an executable file.
The 'Build' menu command will do these things both: it first compiles your source, and thereafter it links your compiled object file to an executable file.
Last edited by tux4life; Jul 2nd, 2009 at 5:45 am.
Reputation Points: 2125
Solved Threads: 243
Postaholic
tux4life is offline Offline
2,105 posts
since Feb 2009
Jul 2nd, 2009
1

Re: peterb

peter, please use descriptive thread titles in the future
Featured Poster
Reputation Points: 437
Solved Threads: 204
Posting Virtuoso
daviddoria is offline Offline
1,968 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: program help
Next Thread in C++ Forum Timeline: Different return type in method





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC