Before you can run Visual C++ programs, you must install the Microsoft® Visual C++ 1.0 compiler that is included with this book. Turn on your computer if it's not already on; start Windows if it is not already started. Locate the book's
CD-ROM, and you're ready to begin the installation.
Visual C++ 1.0 is provided through special arrangement with Microsoft Corporation. Visual C++ 1.0 for Windows® copyright Microsoft Corporation, 1992-1994. All rights reserved. Read the end-user license at the back of this book before using the software.
Visual C++ 1.0 requires the following minimum configuration:
The Visual C++ compiler that you get with this book is actually more than just a Visual C++ compiler. It is a complete Windows-based programmer's workbench with many more tools than you'll need to complete this book. It's a Windows 3.1-based product
that will also work with Windows for Workgroups and Windows 95.
Visual C++ Version 1.0 does not run under Windows NT.
The name of the compiler is Microsoft Visual C++ 1.0. The version that comes with this book is a complete, fully functional version, except that no printed documentation is included and Microsoft offers no technical support for the product. Be assured
that nothing in the Visual C++ language is left out; in fact, the online help provides a wealth of useful information. You get a full implementation of Visual C++. The enclosed compiler supports every command and function in the Visual C++ language.
The installation procedure has two parts:
After the compiler is installed, you are ready to begin entering and running Visual C++ programs on your computer. The way that you install is slightly different under Windows 3.1 and Windows for Workgroups than with Windows 95. If you are not familiar
with the way Windows works, refer to your Windows documentation to find out how to run the Windows tutorials that Microsoft provides with Windows. These are the best way to get quickly up to speed with the way Windows works.
To install the software, insert the book's disc in your CD-ROM drive and follow these instructions.
Windows 3.1+ users: Choose Run from the Program Manager File menu and type D:\INSTALL in the Command Line box. If your CD-ROM drive is not D, substitute the proper drive letter in this command. For example, if your CD-ROM is in drive G, type
G:\INSTALL. Click OK to continue.
Windows 95 users: Click the Start button and click on the Run option. Type D:\INTALL in the Open box. If your CD-ROM drive is not D, substitute the proper drive letter in this command. For example, if your CD-ROM is in drive G, type G:\INSTALL.
Click OK to continue.
The following installation program will ask you a number of questions. The safest way to install is to do as you are told!
Follow the on-screen instructions in the installation program. The book's source code files will be installed to a directory named C:\VC12EZ, unless you changed this name during the install program.
When the source code files have been installed, the setup program for Microsoft Visual C++ 1.0 will automatically begin.
Installing the Visual C++ compiler is pretty easy. The installation program does all the work!
The Setup program prompts you with a dialog box that describes the program and lets you continue or exit. Choose Continue and the Installation Options dialog box appears.
Use this dialog box to configure the installation to fit your system. If you have more than 40MB of free hard drive space, you can simply choose the default installation by clicking on the Continue button.
If you are short of disk space, you need not install all the options. But be sure you at least have the following options:
These will fit into about 10MB of disk space, although you need a few megabytes of free disk space to ensure the correct operation of Windows and the compiler. It is also very useful to have the online help for when you want to explore a little on your
own.
You can choose the drive and directory you want to install to, but if you're not totally sure why you want to change this, it's best to stick with the defaults. You change the drive or directories by selecting the Directories button on the selection
screen.
Click on the Continue button of the Installation Options dialog box to begin the installation. Note that you can easily rerun the setup program to add options if you missed something important.
After you see the Setup Complete message box, the installation program asks whether to restart your computer. Accept this option to ensure that your computer is properly configured before using Visual C++.
When the Visual C++ installation is complete, it creates a Program Manager group (Windows 3.1+) or Programs folder (Windows 95) for the Visual C++ programs.
Windows 3.1+ Users: To start the Visual C++ compiler, choose the Microsoft Visual C++ Program Manager group. Find the blue icon called Visual C++ and double-click on it. The Visual C++ Workbench starts.
Windows 95 Users: To start the Visual C++ compiler, click the Start button, and choose Programs | Microsoft Visual C++ | Visual C++. The Visual C++ Workbench starts.
Good luck, and enjoy your life as a Visual C++ programmer!
The default installation should work fine. If you accidentally change some settings, you should ensure that the following options are set in the Project | Options dialog box of the Workbench program:
If you're experiencing problems with the CD-ROM itself, with the book's programs, or with installing Visual C++, you can contact the Macmillan Computer Publishing support department for help.
The support department can only offer limited support for Visual C++ 1.0meaning help with installation and getting started. They can't help you with learning how to program or with problems you might experience while creating programs with Visual C++. Microsoft Corporation does not offer any product support for this special offering of Visual C++ 1.0.
Please be prepared to give a detailed description of the problem you're experiencing, along with information on your computer system.
Internet E-mail
Send a message to support@mcp.com with a detailed description of the problem you're having.
CompuServe
GO SAMS to visit the Macmillan Computer Publishing forum and leave a message in the Programming message area (Section 9).
Phone
(317) 581-3833
Fax
(317) 581-4773
Macmillan Computer Publishing
Attention: Technical Support
201 West 103rd Street
Indianapolis, IN 46290