Using Visual C++

To Write your C++ code in Visual C++
  1. The network drive needs to be mapped
    Map the network drive
  2. Start Visual C++ from Visual Studio 2008
    Note: As a student of this course, you can get this software for the cost of a CD
  3. Visual Studio contains compilers for many different languages, select C++
  4. Select File, New, Project
  5. Choose Win32 as the Project type
  6. Choose Win32 Console Application as the template
  7. Choose a Name for project. Use the same Name for the Solution Name
  8. For the Location , select: J:/cpsc140-xx followed by your id and then Labs
  9. Click on OK
  10. Select Next on the Welcome on the Win32 Application Wizard
  11. For the Application Settings, select Console Application and Empty Project
  12. RIGHT click on the name you entered in the Explorer pane. Select Add, Add New Item
  13. From the Category list select Visual C++/Code. From the Template list, select C++ File
  14. Type in the code
  15. Save the code frequently by clicking on the diskette icon

Run your code:
  1. Choose Debug, Start Without Debuggubg or select Ctrl+F5
  2. Select OK if prmpted to build