Visual C++ 6.0
Building and Debugging
Back to the introduction
To create a console project, select the New option from the File menu, or press [Ctrl-n]. The following dialog will appear:

Choose Win32 Console Application from the project types list, specify the project name and the location on disk for the application. If a workspace is currently open, choose whether to create a new workspace or to add this new project to the current workspace. After setting up the basic project information and pressing the OK button, another dialog will appear:

Selecting An empty project will create a new project that contains no files. Now we can create new files to add to the project or insert pre-written files into the project.
To create new files, select the New option from the File menu. Like before, the New dialog will appear, but with the Files tab selected:

Select the type of file to add to the project, indicate which project to add it to from the drop list, and specify the file name and location.
To insert pre-written files, right click on the project in the Workspace window. A context menu will appear:

Select Add Files to Project from the menu and a file chooser will be displayed:

The chosen files will be added to the appropriate project folder. After adding some source and header files, a project might have the following Workspace window File View:

and the following Class View:

Next, we will look at building and debugging a console application.
Visual C++ 6.0
Building and Debugging
Back to the introduction
Copyright (C) 2000 - 2002, The University of British Columbia