Using Visual C++
To Write your C++ code in Visual C++
- The network drive needs to be mapped
-
Map the network drive
- 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
- Visual Studio contains compilers for many different languages, select
C++
- Select File, New, Project
- Choose Win32 as the Project type
- Choose Win32 Console Application as the template
- Choose a Name for project. Use the same Name for the Solution Name
- For the Location ,
select: J:/cpsc140-xx
followed by your id and then Labs
- Click on OK
- Select Next on the Welcome on the Win32 Application Wizard
- For the Application Settings, select Console Application and Empty Project
- RIGHT click on the name you entered in the Explorer pane. Select
Add, Add New Item
- From the Category list select Visual C++/Code. From the Template list,
select C++ File
- Type in the code
- Save the code frequently by clicking on the diskette icon
Run your code:
- Choose Debug, Start Without Debuggubg or select Ctrl+F5
- Select OK if prmpted to build