peterb

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2009
Posts: 1
Reputation: peterbrowse is an unknown quantity at this point 
Solved Threads: 0
peterbrowse peterbrowse is offline Offline
Newbie Poster

peterb

 
0
  #1
Jul 2nd, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 1,969
Reputation: tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute 
Solved Threads: 214
tux4life's Avatar
tux4life tux4life is offline Offline
Posting Virtuoso

Re: peterb

 
0
  #2
Jul 2nd, 2009
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.
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 638
Reputation: daviddoria is a jewel in the rough daviddoria is a jewel in the rough daviddoria is a jewel in the rough 
Solved Threads: 46
daviddoria daviddoria is offline Offline
Practically a Master Poster

Re: peterb

 
1
  #3
Jul 2nd, 2009
peter, please use descriptive thread titles in the future
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum


Views: 191 | Replies: 2
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC