How to execute simple c++ file by microsoft visual studio 6
-
Hello all.. I am very new to MFC. so please suggest me how can i create my simple .cpp file by VC++ without creating any workspace....If it is possible than plz tell me the way... Egarly waiting for reply...Please reply soon Thank you for reading this message....
alpa shah
-
Hello all.. I am very new to MFC. so please suggest me how can i create my simple .cpp file by VC++ without creating any workspace....If it is possible than plz tell me the way... Egarly waiting for reply...Please reply soon Thank you for reading this message....
alpa shah
Haven't you checked
Files
tab, when usedNew
option fromFile
menu?Prasad Notifier using ATL
-
Hello all.. I am very new to MFC. so please suggest me how can i create my simple .cpp file by VC++ without creating any workspace....If it is possible than plz tell me the way... Egarly waiting for reply...Please reply soon Thank you for reading this message....
alpa shah
if you use VisualC++ (whatever vesion), you must create a workspace (or a solution, both appelations are same depending on the IDE). otherwise, you'll have to use the command line to call the compiler/linker yourself, but i don't advise you to, because if you are new, yo go directly to the headaches !! creating a new project is not a that difficult task. take few minutes to experiment the IDE.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
Haven't you checked
Files
tab, when usedNew
option fromFile
menu?Prasad Notifier using ATL
-
Hello all.. I am very new to MFC. so please suggest me how can i create my simple .cpp file by VC++ without creating any workspace....If it is possible than plz tell me the way... Egarly waiting for reply...Please reply soon Thank you for reading this message....
alpa shah
Well you can create such a file simple by choosing New/File in the File menu, but i don't think thats what you want. It really depends on what kind of Application/Library etc. you want to create. The simplest i think is to create a new Project from the Win32 Console Application Template. Just use File/New/Project, then choose Win32 Console Application under Visual C++ Projects and enter a project name, then hit ok. Next window hit OK again, default options should suffice for now. In your project explorer (usually on the right side) you will find a .cpp file with the name of your project. This file contains an empty body of the main function. You can write your code here. Then hit Strg+F5 to execute. So much for a short total beginners tutorial. Hope that was helpfull and not too low ;)
-
Haven't you checked
Files
tab, when usedNew
option fromFile
menu?Prasad Notifier using ATL
-
Well you can create such a file simple by choosing New/File in the File menu, but i don't think thats what you want. It really depends on what kind of Application/Library etc. you want to create. The simplest i think is to create a new Project from the Win32 Console Application Template. Just use File/New/Project, then choose Win32 Console Application under Visual C++ Projects and enter a project name, then hit ok. Next window hit OK again, default options should suffice for now. In your project explorer (usually on the right side) you will find a .cpp file with the name of your project. This file contains an empty body of the main function. You can write your code here. Then hit Strg+F5 to execute. So much for a short total beginners tutorial. Hope that was helpfull and not too low ;)
-
Well you can create such a file simple by choosing New/File in the File menu, but i don't think thats what you want. It really depends on what kind of Application/Library etc. you want to create. The simplest i think is to create a new Project from the Win32 Console Application Template. Just use File/New/Project, then choose Win32 Console Application under Visual C++ Projects and enter a project name, then hit ok. Next window hit OK again, default options should suffice for now. In your project explorer (usually on the right side) you will find a .cpp file with the name of your project. This file contains an empty body of the main function. You can write your code here. Then hit Strg+F5 to execute. So much for a short total beginners tutorial. Hope that was helpfull and not too low ;)
-
I have tried this direct file creation...but dear it didn't work..because it requires to create a workspace..so simple might not be work..that i was asking..:) Againg thanks for your suggestion...and thanks for reading my question....
alpa shah
alpa shah wrote:
I have tried this direct file creation...but dear it didn't work..because it requires to create a workspace
You can create .cpp file without workspace. But as mentioned earlier, thats not what you required. -- modified at 10:12 Thursday 14th September, 2006
Prasad Notifier using ATL[^] | Operator new,delete[^]
-
Well you can create such a file simple by choosing New/File in the File menu, but i don't think thats what you want. It really depends on what kind of Application/Library etc. you want to create. The simplest i think is to create a new Project from the Win32 Console Application Template. Just use File/New/Project, then choose Win32 Console Application under Visual C++ Projects and enter a project name, then hit ok. Next window hit OK again, default options should suffice for now. In your project explorer (usually on the right side) you will find a .cpp file with the name of your project. This file contains an empty body of the main function. You can write your code here. Then hit Strg+F5 to execute. So much for a short total beginners tutorial. Hope that was helpfull and not too low ;)
the OP wants an MFC project, not Win32 console :doh:
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
Hello all.. I am very new to MFC. so please suggest me how can i create my simple .cpp file by VC++ without creating any workspace....If it is possible than plz tell me the way... Egarly waiting for reply...Please reply soon Thank you for reading this message....
alpa shah
I help to you first what do you need? if see in File->New you can create many projects but it seems that you are new so you can create a MFC Application and next step in Application Type use Dialog based and click Finish button for compile in Debug menu select->Start Without Debugging. If you have any problem maybe i can help to you
_**
**_
WhiteSky