how to create a exe file in visual C++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2007
Posts: 4
Reputation: shorty001 is an unknown quantity at this point 
Solved Threads: 0
shorty001 shorty001 is offline Offline
Newbie Poster

Re: how to create a exe file in visual C++

 
0
  #11
Aug 4th, 2007
Originally Posted by Hamrick View Post
Type all of your code into the visual C++ editor and then press ctrl+shift+b. That builds your project and creates an exe file in the Debug or Release folders of the project folder. You can also do it the clicky way from the Build menu in visual C++. You can also use F5 to build and run in debug mode immediately, or ctrl+F5 to build and run in production mode immediately.

The tutorials that you said weren't helpful describe how to build projects here. But that's probably too much information if all you want is to build simple programs.
sorry, I did not mention early which version I am using, I am using the 2005 version.Before I using this compiler, I use another compiler and it give me the exe file different from this one. The exe file created in this compiler automatically exit if I do not have the stop code.This mean when I try to test this compiler,I wrote the simple code and compiled it,then I click on the exe file, it run and exit, it happens so fast so I could not see anything.That's why I asked you how to do it,but actually I already did it.

when I read the comment above. I realize that I did correctly.So I check it that way.Thank you hamrick and all of you were trying to help me.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: how to create a exe file in visual C++

 
0
  #12
Aug 4th, 2007
There's no difference in the output, only in the way the IDE treats it when you run it inside the IDE...

Or if the other IDE and compiler did put in some magic code of their own, they were fundamentally flawed.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 4
Reputation: shorty001 is an unknown quantity at this point 
Solved Threads: 0
shorty001 shorty001 is offline Offline
Newbie Poster

Re: how to create a exe file in visual C++

 
0
  #13
Aug 4th, 2007
Originally Posted by jwenting View Post
There's no difference in the output, only in the way the IDE treats it when you run it inside the IDE...

Or if the other IDE and compiler did put in some magic code of their own, they were fundamentally flawed.
there are different, one needs the system("pause"), one do not need because my previous compiler do not need it
Last edited by shorty001; Aug 4th, 2007 at 10:35 am.
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 487
Reputation: Bench has a spectacular aura about Bench has a spectacular aura about Bench has a spectacular aura about 
Solved Threads: 48
Bench's Avatar
Bench Bench is offline Offline
Posting Pro in Training

Re: how to create a exe file in visual C++

 
0
  #14
Aug 4th, 2007
Originally Posted by shorty001 View Post
there are different, one needs the system("pause"), one do not need because my previous compiler do not need it
You don't need to do that in VS2005. Read my post earlier in the thread.
¿umop apisdn upside down?
Reply With Quote Quick reply to this message  
Reply

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



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC