Using Microsoft Visual Studio 6.0

Step 1: Open the Microsoft Visual Studio 6.0 for C++ environment.

1.      Click Start, choose Application

2.      Then choose Microsoft Visual Studio 6.0

3.      Then choose Microsoft Visual C++, it will open the environment for you

4.      Then click close for tip of the day

Step 2: Open a project/file to work, compile and execute

  1. Click on File, then New, A window called New opens up
  2. If your program does NOT need more than one class, click File, and choose C++ Source File.
  3. Type your programName.cpp, (e.g name.cpp), click on OK.

 

  1. If your program has more than one class, click Projects, choose Win 32 Console Application, type in project name.  Click OK, Finish,OK. Then repeat step three for files.  

  1. Start typing your source code.

 

  1. Save your code. Click on File, choose Save, OR click on  icon on tool bar.
  2. Compile your code by Click on Build, choose Build All, and then click YES. OR simply click on  icon.

 

  1. If there are errors, please fix them.  If there are no errors, run the program by click on Build and choose Execute name.exe. OR click on  icon.

 

  1. Then a DOS window will pop out, you can run your program.