| Visual C++
|
PAGE
(3 of 6) |
|
Creating a Project
Before you can begin coding, you must create a new workspace
and project.
To do so, go to the File menu and select New
You should be presented with a dialog that
looks like this:
- When presented with the new dialog window, select Win32
Console Application (this will create an application
that runs at the command prompt [like DOS])
- In the Project Name textfield, name your project
Day of the Week
- In the Location textfield, type the directory in which you want to store your code files.
(Change the Location
of the project to your user directory, (on Drive Z: in the CS lab).
-
After clicking Ok
from the New project dialog window you will be presented with the project
creation wizard “Win32 Console Application” dialog window as shown
below:
- Select an empty project
and click Finish.
-
After clicking Finish
from the “Win32 Console Application” dialog window a New Project
Information window will simply explain no files were automatically
generated.

- Note the Project Directory at the
bottom of the dialog window above. While files can be stored in the
directory in the CS lab they will be deleted as soon as you log off and
will be lost.
- Now click OK. You should now see a screen that
looks similar to this:
Now you are ready to start writing code.
| © CS Dept Va Tech, 1999.
|
All rights
reserved.
|