1. Home
  2. Computing & Technology
  3. C / C++ / C#

How to Compile Programs with Microsoft Visual C++ 6

By , About.com Guide

2 of 8

Learn about Projects and Workspaces

Click the third radio button which says A "Hello, World" application. then click the Finish button. Press Ok on the next page and your workspace panel will now show Example 1 Files, with folders for Source Files, Header Files, and Resource files (There will be none) and a ReadMe.txt with a summary of the project files.

Projects in Visual C++ 6

Projects in Visual C++ 6 are organised in Workspaces; an application will normally have one workspace. Each workspace can hold one or more projects. In practice this means one project for each exe or dll.

If you look in the Win 32 folder where you created the project you'll see a number of files. There's the Source Files either c or cpp files (source code), at least one header file (stdafx.h) plus a .dsp file that holds the project details and a .dsw file that holds the workspace details.

Other files include the .plg which is created when you compile. It's a html file which holds the log of the compilation. Double click it and your default browser will open and display it.

The .ncb and .opt files holds information about the settings and log of Visual Studio- both are binary files so of no further interest to us.

On the next page : Learn how to compile with Visual C++. The picture there shows the list of files generated by the AppWizard.

Explore C / C++ / C#
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. C
  5. C Tutorials
  6. Learn about Projects and Workspaces

©2009 About.com, a part of The New York Times Company.

All rights reserved.