1. Computing & Technology

Discuss in my forum

How to Compile Programs with Microsoft Visual C++ 6

By , About.com Guide

1 of 8

Getting Started with Visual C++ 6
How to Compile Programs with Microsoft Visual C++ 6
This tutorial will teach you how to create a project in version six of Visual C++. This version of Microsoft's C++ IDE has probably helped millions of developers in their C++ Programming over the last 8 years. Microsoft Visual C++ has existed in many versions for over 13 years on the Win 32 platform. Version 6 is the last non .NET version and probably the most popular. It's been around since 1999 and has had six service packs.

In this tutorial, you'll learn how to create a Command Line project, add some source code and then make it.

Before you start

Make sure your version has been updated with Service Pack 6. You can do this from the Microsoft website- see the "Elsewhere on the Web" link.

Getting Started

We'll begin by creating a new Project. Visual C++ includes the AppWizard. This is a Wizard that does all the donkey-work of creating project files for you. You should get in the habit of using this as it saves a lot of time.

After starting the IDE, From the File menu click New and the New DIalog will popup. Select "Win 32 Console Application" ( Red Circle 1 in the image), then enter a Project name ( Red Circle 2 in the image) like Example1. Now select somewhere for the project files by clicking the location selector to the right of the Location: edit box and Press OK.

On the next page : Learn about Projects and Workspaces.

©2012 About.com. All rights reserved.

A part of The New York Times Company.