| | |
how to create a exe file in visual C++
![]() |
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.
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.
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
Shouvik
HAHAHAHA.
What's so "fairly good understanding" about being able to write
and pressing a button or key?
What's so "fairly good understanding" about being able to write
C++ Syntax (Toggle Plain Text)
int main(char* args, int argv) { return 0; }
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.
•
•
•
•
I need a guide to make a real exe file.
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.
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.
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
- 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.
- 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
CPP Syntax (Toggle Plain Text)
int main() { }
- 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? 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.
Tell me if i'm wrong.
Regards
Shouvik
Shouvik
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.
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.
![]() |
Similar Threads
- Creating .EXE File (ASP.NET)
- COMPILE A "STANDALONE" .EXE FILE (Visual Basic 4 / 5 / 6)
- Visual basic why does my exe file need dotnetfx? (VB.NET)
Other Threads in the C++ Forum
- Previous Thread: MUD help?
- Next Thread: Help with C++
| Thread Tools | Search this Thread |
api array based binary bitmap business c++ c/c++ char class classes code coding commentinghelp compile console conversion count decide delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez graph guess gui homeworkhelp homeworkhelper iamthwee ifpug ifstream incrementoperators infinite input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem proficiency program programming project python random read recursion reference rpg string strings temperature template templates test text text-file tree url variable vector video win32 windows winsock word wordfrequency wxwidgets






