Basic guide on how to do your projects in Visual C++
- How to start a project
- In one of the CATs labs, after logging into the account, go to start->Course Software->Microsoft Visual Studio
6.0->Microsoft Visual C++ 6.0. The IDE should look some thing like this snapshot below

- Click on File->New. This bring up a window where you can select files or projects you want to use for your
projects. Under the Projects tab, select Win32 Console Application. Next to it write the name of the project. Also
verify the location of the project and chenage it to a new one if you dont want the current one. After that, click on
OK
- On the next window, select the type of application as an empty application. Afetr that, click on Finish. Your
windoe should look like this. You have just created and empty workspace for your project.

- Again click on File->New option and select C/C++ Source file under the Files tab. Give it a name and Location
before clicking OK. Now your IDE should look like this

- Follow the last step again if you want to create more files
- How to compile/run your project
- To compile your project, select Compile xxxxx.cpp under the build menu or press Ctrl+F7. This will only compile
the current file. To compile the whole project click on Build xxxxx.exe under the build menu or press F7.
- To run your project, select Execute xxxxx.exe under the build menu or press Ctrl+F5.
Back