how to create a exe file in visual C++

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

how to create a exe file in visual C++

 
0
  #1
Jul 29th, 2007
anyone please guide me to create a exe program in visual C++ 2005.

Thank you
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,164
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1438
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is online now Online
Most Valuable Poster

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

 
0
  #2
Jul 29th, 2007
Maybe these short tutorials will help
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
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
  #3
Jul 30th, 2007
I already checked that one, it only guide us how to make a program ( how to begin to write the code into the editor), not a exe program. I need a guide to make a real exe file.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 200
Reputation: shouvik.d is an unknown quantity at this point 
Solved Threads: 6
shouvik.d's Avatar
shouvik.d shouvik.d is offline Offline
Posting Whiz in Training

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

 
0
  #4
Jul 30th, 2007
To be able to create an Exe file in Visual C++ (I hope by your context you are using 6.0) you need to have fairly good knowledge of C++. next an Exe application can be of two types Console based / Graphical User Interface. For console based you can use Win32 Console APllication (as Ancient Dragon has guided you to the tutorial) and code in the ToDo areas for what operation you want to do. Next compile and build the program. This way u can create a console based exe.

For Graphical based exe you have to learn a bit more of MFC before proceeding.

Please revert back to us in case of more clarification.
Regards
Shouvik
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

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

 
0
  #5
Jul 30th, 2007
HAHAHAHA.

What's so "fairly good understanding" about being able to write
  1. int main(char* args, int argv)
  2. {
  3. return 0;
  4. }

and pressing a button or key?
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: Jun 2007
Posts: 322
Reputation: Hamrick will become famous soon enough Hamrick will become famous soon enough 
Solved Threads: 33
Hamrick's Avatar
Hamrick Hamrick is offline Offline
Posting Whiz

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

 
0
  #6
Jul 30th, 2007
I need a guide to make a real exe file.
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.
The truth does not change according to our ability to stomach it.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,164
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1438
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is online now Online
Most Valuable Poster

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

 
0
  #7
Jul 30th, 2007
Originally Posted by shouvik.d View Post
To be able to create an Exe file in Visual C++ (I hope by your context you are using 6.0) you need to have fairly good knowledge of C++. .
Nope -- only need a very basic knowledge of c++ to write console programs with the compiler. But it does take some time for newbes to learn how to use the IDE. How to do that depends on which version of VC++ you are using -- version 6.0 is a lot different than 2005.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 482
Reputation: Bench has a spectacular aura about Bench has a spectacular aura about Bench has a spectacular aura about 
Solved Threads: 47
Bench's Avatar
Bench Bench is offline Offline
Posting Pro in Training

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

 
0
  #8
Jul 30th, 2007
In general, the steps to getting MSVC++ 2005 to work should be something along the lines of

- Create a new Solution, using a Win32 Console Project

- Right-Click on the project's name in the solution explorer, choose properties.

- In the Configuration Properties Window, look for the option to disable precompiled headers (Under the C/C++ Configuration properties)

- Get rid of stdafx.h and all that rubbish

- use the simplest possible program to test whether you've set it up correctly (you can tell by whether the program compiles) this one will do
  1. int main()
  2. {
  3. }
- Hold [CTRL] and press [F5] to compile & run. (Console Window won't auto-close - this is the 'compile without debugging' mode)
- or, [F7] to build it without running

- if you need the .exe file, look in the project's folder on your computer, in Windows Explorer. The .exe file will be named after the solution.
Last edited by Bench; Jul 30th, 2007 at 9:01 pm.
¿umop apisdn upside down?
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 200
Reputation: shouvik.d is an unknown quantity at this point 
Solved Threads: 6
shouvik.d's Avatar
shouvik.d shouvik.d is offline Offline
Posting Whiz in Training

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

 
0
  #9
Jul 31st, 2007
Originally Posted by Ancient Dragon View Post
6.0 is a lot different than 2005.
That is what takes developers a lot of time to port programms from one version to another. So atleast a fair amount of knowledge would be necessary in order to know how and what is working inside a program.

Tell me if i'm wrong.
Regards
Shouvik
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

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

 
0
  #10
Jul 31st, 2007
most people would choose to start from scratch when starting development in VC2005 if their previous version was VC6.

Anything developed that long ago that VC6 was current when development was complete will be in dire need for such a major overhaul that complete replacement is a better option.
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  
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