home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn Visual C++ Now
/
Learn_Visual_C_Now_Mark_Andrews_1996.iso
/
readme.txt
next >
Wrap
Text File
|
1996-04-03
|
17KB
|
502 lines
Notes for the "Learn Visual C++ Now Companion CD-ROM"
You may freely compile and link the source code into your
own software programs, providing that you do not redistribute
the source code. If you want to redistribute the source code,
you must obtain written permission by contacting
Attn.: Permissions
Microsoft Press
One Microsoft Way
Redmond, WA 98052-6399
Contents:
Part 1. If You Encounter Problems
Part 2. Installing the Source Code
Part 3. Contents of the CD Subdirectories
===< Part 1: If You Encounter Problems >====================
If you require a replacement CD, please call
Microsoft Sales and Service
1-800-426-9400
Every effort has been made to ensure the accuracy of this book and
the contents of the companion disc. If you have comments, questions,
or ideas regarding this book or the companion disc, please write to
Microsoft Press at the following address:
Attn.: Learn Visual C++ Now Editor
Microsoft Press
One Microsoft Way
Redmond, WA 98052-6399
You can also send feedback to Microsoft Press via electronic mail
at mspinput@microsoft.com. Please note that product support is not
offered through this e-mail address.
===< Part 2: Installing the Source Code >===============
The files on the CD-ROM contain sample programs and software for
Microsoft Visual C++ Version 1.0. The setup program automatically
installs the sample files in the folder \LEARNVC; the Microsoft
Visual C++ Version 1.0 software is installed in the folder \MSVC.
To install the source code, sample programs, and Visual C++ software that
comes on the companion CD-ROM, follow the procedures outlined below.
INSTALLING THE LEARN VISUAL C++ NOW FILES UNDER WINDOWS 95
To install the Learn Visual C++ Now files under Windows 95, follow these
steps:
1. From the Windows 95 desktop, click the Start button.
2. Choose the Run menu item.
3. In the Run dialog box, click the Browse button.
4. In the Browse dialog box, navigate to the root directory of the com-
panion CD-ROM.
5. Click the SETUP.EXE icon.
6. Click the Open button.
7. When the Run dialog box reappears, click OK, and follow the on-
screen instructions.
INSTALLING THE LEARN VISUAL C++ NOW SAMPLE FILES IN OTHER ENVIRONMENTS
If you are running Windows 3.x or Windows NT version 3.5 or earlier,
you can install the Learn Visual C++ Now files by opening File Manager,
navigating to the root directory of the companion CD-ROM, and double-
clicking the SETUP.EXE icon. Alternatively, you can follow these steps:
1. From Program Manager, choose the Run item from the File menu.
2. In the Run dialog box, navigate to the root directory of the com-
panion CD-ROM.
3. Click the SETUP.EXE icon.
4. Click the Open button.
5. When the Run dialog box reappears, click OK, and follow the on-
screen instructions.
INSTALLING VISUAL C++
The Visual C++ compiler on the companion CD-ROM generates 16-bit
Windows-based applications that will run under Windows 95, Windows
NT, or Windows 3.x.
Under Windows 95
To install Visual C++ under Windows 95, follow these steps:
1. From the Windows 95 desktop, click the Start button.
2. Choose the Run menu item.
3. In the Run dialog box, click the Browse button.
4. In the Browse dialog box, navigate to the \MSVC folder on the com-
panion CD-ROM.
5. Click the SETUP.EXE icon.
6. Click the Open button.
7. When the Run dialog box reappears, click OK, and follow the on-screen
instructions.
In Other Environments
If you are running Windows 3.x or Windows NT version 3.5 or earlier, you
can install Visual C++ by opening File Manager, navigating to the \MSVC
folder on the companion CD-ROM, and double-clicking the SETUP.EXE
icon. Alternatively, you can follow these steps:
1. From Program Manager, choose the Run item from the File menu.
2. In the Run dialog box, navigate to the \MSVC folder on the compan-
ion CD-ROM.
3. Click the SETUP.EXE icon.
4. Click the Open button.
5. When the Run dialog box reappears, click OK, and follow the
on-screen instructions.
Solving Disk Space Problems
If you would like, you can customize your installation using the Installation
Options dialog box, which opens when you start the Installer. To compile
and link the sample files on the companion CD-ROM, the default settings should
be sufficient. However, if you run into disk space problems, you might
consider customizing your installation.
To customize your installation, follow these steps:
1. To determine whether you have enough disk space to install the
complete Visual C++ package, check the Disk Space Information
panel at the bottom of the Installation Options dialog box. In the
Disk Space Information panel, the Installer displays the name of the
disk drive on which Visual C++ is about to be installed.
2. If you want, you can click the Directories button to specify a differ-
ent disk for your Visual C++ installation. The Installer then opens
the Directory Options dialog box.
3. By specifying multiple drives in the Directory Options dialog box,
you can install different parts of the Visual C++ package on different
drives. If you have enough hard disk space, it is recommended that
you install all the items listed in the Installation Options dialog box.
If you can't find enough hard disk space to install every item, you
can uncheck the Sample Source Code check box. The Installer will
then skip the sample programs provided with Visual C++ version 1.0.
Later, you can load any sample project you want directly from the
companion CD-ROM.
4. After you have specified a directory setup for your Visual C++ in-
stallation, close the Directory Options dialog box by clicking the OK
button. Once again, the Installation Options dialog box becomes the
active window.
===< Part 3: Contents of the CD Subdirectories >==============
The following is a list of the files from the sample programs
illustrated in Learn Visual C++ Now.
\learnvc\chap02\hello\hello.cpp
\learnvc\chap02\hello\hello.def
\learnvc\chap02\hello\hello.mak
\learnvc\chap03\cpycnstr\cpycnstr.cpp
\learnvc\chap03\cpycnstr\cpycnstr.mak
\learnvc\chap03\default\default.cpp
\learnvc\chap03\default\default.mak
\learnvc\chap03\empinfo\empinfo.cpp
\learnvc\chap03\empinfo\empinfo.mak
\learnvc\chap03\ref_addr\ref_addr.cpp
\learnvc\chap03\ref_addr\ref_addr.mak
\learnvc\chap03\this\this.cpp
\learnvc\chap03\this\this.mak
\learnvc\chap03\usingref\usingref.cpp
\learnvc\chap03\usingref\usingref.mak
\learnvc\chap03\var_ref\var_ref.cpp
\learnvc\chap03\var_ref\var_ref.mak
\learnvc\chap04\constrct\constrct.cpp
\learnvc\chap04\constrct\constrct.mak
\learnvc\chap04\empdata\empdata.cpp
\learnvc\chap04\empdata\empdata.mak
\learnvc\chap04\friends\friends.cpp
\learnvc\chap04\friends\friends.mak
\learnvc\chap04\hierarch\hierarch.cpp
\learnvc\chap04\hierarch\hierarch.mak
\learnvc\chap04\memover\memover.cpp
\learnvc\chap04\memover\memover.mak
\learnvc\chap04\nonvirt\nonvirt.cpp
\learnvc\chap04\nonvirt\nonvirt.mak
\learnvc\chap04\operover\operover.cpp
\learnvc\chap04\operover\operover.mak
\learnvc\chap04\override\override.cpp
\learnvc\chap04\override\override.mak
\learnvc\chap04\private\private.cpp
\learnvc\chap04\private\private.mak
\learnvc\chap04\static\static.cpp
\learnvc\chap04\static\static.mak
\learnvc\chap04\virtual\virtual.cpp
\learnvc\chap04\virtual\virtual.mak
\learnvc\chap05\scramble\arches.bmp
\learnvc\chap05\scramble\mainfrm.cpp
\learnvc\chap05\scramble\mainfrm.h
\learnvc\chap05\scramble\readme.txt
\learnvc\chap05\scramble\res\scramble.ico
\learnvc\chap05\scramble\res\scramble.rc2
\learnvc\chap05\scramble\res\scramdoc.ico
\learnvc\chap05\scramble\res\toolbar.bmp
\learnvc\chap05\scramble\resource.h
\learnvc\chap05\scramble\scramble.cpp
\learnvc\chap05\scramble\scramble.def
\learnvc\chap05\scramble\scramble.h
\learnvc\chap05\scramble\scramble.mak
\learnvc\chap05\scramble\scramble.rc
\learnvc\chap05\scramble\scramdoc.cpp
\learnvc\chap05\scramble\scramdoc.h
\learnvc\chap05\scramble\scramvw.cpp
\learnvc\chap05\scramble\scramvw.h
\learnvc\chap05\scramble\stdafx.cpp
\learnvc\chap05\scramble\stdafx.h
\learnvc\chap06\scramble\mainfrm.cpp
\learnvc\chap06\scramble\mainfrm.h
\learnvc\chap06\scramble\readme.txt
\learnvc\chap06\scramble\res\arches.bmp
\learnvc\chap06\scramble\res\castle.bmp
\learnvc\chap06\scramble\res\oldwest.bmp
\learnvc\chap06\scramble\res\scramble.ico
\learnvc\chap06\scramble\res\scramble.rc2
\learnvc\chap06\scramble\res\scramdoc.ico
\learnvc\chap06\scramble\res\space.bmp
\learnvc\chap06\scramble\res\toolbar.bmp
\learnvc\chap06\scramble\resource.h
\learnvc\chap06\scramble\scramble.cpp
\learnvc\chap06\scramble\scramble.def
\learnvc\chap06\scramble\scramble.h
\learnvc\chap06\scramble\scramble.mak
\learnvc\chap06\scramble\scramble.rc
\learnvc\chap06\scramble\scramdoc.cpp
\learnvc\chap06\scramble\scramdoc.h
\learnvc\chap06\scramble\scramvw.cpp
\learnvc\chap06\scramble\scramvw.h
\learnvc\chap06\scramble\stdafx.cpp
\learnvc\chap06\scramble\stdafx.h
\learnvc\chap07\step5\mainfrm.cpp
\learnvc\chap07\step5\mainfrm.h
\learnvc\chap07\step5\pendlg.cpp
\learnvc\chap07\step5\pendlg.h
\learnvc\chap07\step5\readme.txt
\learnvc\chap07\step5\res\scribble.ico
\learnvc\chap07\step5\res\scribble.rc2
\learnvc\chap07\step5\res\scribdoc.ico
\learnvc\chap07\step5\res\toolbar.bmp
\learnvc\chap07\step5\resource.h
\learnvc\chap07\step5\scribble.cpp
\learnvc\chap07\step5\scribble.def
\learnvc\chap07\step5\scribble.h
\learnvc\chap07\step5\scribble.mak
\learnvc\chap07\step5\scribble.rc
\learnvc\chap07\step5\scribble.res
\learnvc\chap07\step5\scribdoc.cpp
\learnvc\chap07\step5\scribdoc.h
\learnvc\chap07\step5\scribfrm.cpp
\learnvc\chap07\step5\scribfrm.h
\learnvc\chap07\step5\scribvw.cpp
\learnvc\chap07\step5\scribvw.h
\learnvc\chap07\step5\stdafx.cpp
\learnvc\chap07\step5\stdafx.h
\learnvc\chap08\dlgdemo\dlgdemdc.cpp
\learnvc\chap08\dlgdemo\dlgdemdc.h
\learnvc\chap08\dlgdemo\dlgdemo.cpp
\learnvc\chap08\dlgdemo\dlgdemo.def
\learnvc\chap08\dlgdemo\dlgdemo.h
\learnvc\chap08\dlgdemo\dlgdemo.mak
\learnvc\chap08\dlgdemo\dlgdemo.rc
\learnvc\chap08\dlgdemo\dlgdemo.res
\learnvc\chap08\dlgdemo\dlgdemvw.cpp
\learnvc\chap08\dlgdemo\dlgdemvw.h
\learnvc\chap08\dlgdemo\mainfrm.cpp
\learnvc\chap08\dlgdemo\mainfrm.h
\learnvc\chap08\dlgdemo\modal.cpp
\learnvc\chap08\dlgdemo\modal.h
\learnvc\chap08\dlgdemo\modeless.cpp
\learnvc\chap08\dlgdemo\modeless.h
\learnvc\chap08\dlgdemo\res\canceld.bmp
\learnvc\chap08\dlgdemo\res\cancelf.bmp
\learnvc\chap08\dlgdemo\res\cancelu.bmp
\learnvc\chap08\dlgdemo\res\dlgdemo.ico
\learnvc\chap08\dlgdemo\res\dlgdemo.rc2
\learnvc\chap08\dlgdemo\res\faced.bmp
\learnvc\chap08\dlgdemo\res\facef.bmp
\learnvc\chap08\dlgdemo\res\faceu.bmp
\learnvc\chap08\dlgdemo\res\facex.bmp
\learnvc\chap08\dlgdemo\res\modeless.ico
\learnvc\chap08\dlgdemo\res\okd.bmp
\learnvc\chap08\dlgdemo\res\okf.bmp
\learnvc\chap08\dlgdemo\res\oku.bmp
\learnvc\chap08\dlgdemo\res\toolbar.bmp
\learnvc\chap08\dlgdemo\resource.h
\learnvc\chap08\dlgdemo\stdafx.cpp
\learnvc\chap08\dlgdemo\stdafx.h
\learnvc\chap09\testapp\mainfrm.cpp
\learnvc\chap09\testapp\mainfrm.h
\learnvc\chap09\testapp\readme.txt
\learnvc\chap09\testapp\res\testadoc.ico
\learnvc\chap09\testapp\res\testapp.ico
\learnvc\chap09\testapp\res\testapp.rc2
\learnvc\chap09\testapp\res\toolbar.bmp
\learnvc\chap09\testapp\resource.h
\learnvc\chap09\testapp\stdafx.cpp
\learnvc\chap09\testapp\stdafx.h
\learnvc\chap09\testapp\testadoc.cpp
\learnvc\chap09\testapp\testadoc.h
\learnvc\chap09\testapp\testapp.cpp
\learnvc\chap09\testapp\testapp.def
\learnvc\chap09\testapp\testapp.h
\learnvc\chap09\testapp\testapp.mak
\learnvc\chap09\testapp\testapp.rc
\learnvc\chap09\testapp\testapp.res
\learnvc\chap09\testapp\testavw.cpp
\learnvc\chap09\testapp\testavw.h
\learnvc\chap09\testapp\testdial.cpp
\learnvc\chap09\testapp\testdial.h
\learnvc\chap09\creation\animwnd.cpp
\learnvc\chap09\creation\animwnd.h
\learnvc\chap09\creation\creatdoc.cpp
\learnvc\chap09\creation\creatdoc.h
\learnvc\chap09\creation\creation.cpp
\learnvc\chap09\creation\creation.def
\learnvc\chap09\creation\creation.h
\learnvc\chap09\creation\creation.mak
\learnvc\chap09\creation\creation.rc
\learnvc\chap09\creation\creatvw.cpp
\learnvc\chap09\creation\creatvw.h
\learnvc\chap09\creation\dice.cpp
\learnvc\chap09\creation\dice.h
\learnvc\chap09\creation\dlgcreat.cpp
\learnvc\chap09\creation\dlgcreat.h
\learnvc\chap09\creation\dlginfo.cpp
\learnvc\chap09\creation\dlginfo.h
\learnvc\chap09\creation\dlgsupp.cpp
\learnvc\chap09\creation\dlgsupp.h
\learnvc\chap09\creation\mainfrm.cpp
\learnvc\chap09\creation\mainfrm.h
\learnvc\chap09\creation\player.cpp
\learnvc\chap09\creation\player.h
\learnvc\chap09\creation\res\creatdoc.ico
\learnvc\chap09\creation\res\creation.ico
\learnvc\chap09\creation\res\creation.rc2
\learnvc\chap09\creation\res\player1.bmp
\learnvc\chap09\creation\res\toolbar.bmp
\learnvc\chap09\creation\res\zalthar.ico
\learnvc\chap09\creation\resource.h
\learnvc\chap09\creation\stdafx.cpp
\learnvc\chap09\creation\stdafx.h
\learnvc\chap10\grafdemo\animwnd.cpp
\learnvc\chap10\grafdemo\animwnd.h
\learnvc\chap10\grafdemo\grafdemo.cpp
\learnvc\chap10\grafdemo\grafdemo.def
\learnvc\chap10\grafdemo\grafdemo.h
\learnvc\chap10\grafdemo\grafdemo.mak
\learnvc\chap10\grafdemo\grafdemo.rc
\learnvc\chap10\grafdemo\grafdoc.cpp
\learnvc\chap10\grafdemo\grafdoc.h
\learnvc\chap10\grafdemo\grafview.cpp
\learnvc\chap10\grafdemo\grafview.h
\learnvc\chap10\grafdemo\mainfrm.cpp
\learnvc\chap10\grafdemo\mainfrm.h
\learnvc\chap10\grafdemo\res\arches.bmp
\learnvc\chap10\grafdemo\res\bitmap2.bmp
\learnvc\chap10\grafdemo\res\creatdoc.ico
\learnvc\chap10\grafdemo\res\creation.ico
\learnvc\chap10\grafdemo\res\creation.rc2
\learnvc\chap10\grafdemo\res\grafdemo.ico
\learnvc\chap10\grafdemo\res\grafdemo.rc2
\learnvc\chap10\grafdemo\res\grafdoc.ico
\learnvc\chap10\grafdemo\res\lfboy1.bmp
\learnvc\chap10\grafdemo\res\lfboy2.bmp
\learnvc\chap10\grafdemo\res\lfboy3.bmp
\learnvc\chap10\grafdemo\res\lfboy4.bmp
\learnvc\chap10\grafdemo\res\lfboy5.bmp
\learnvc\chap10\grafdemo\res\lfboym1.bmp
\learnvc\chap10\grafdemo\res\lfboym2.bmp
\learnvc\chap10\grafdemo\res\lfboym3.bmp
\learnvc\chap10\grafdemo\res\lfboym4.bmp
\learnvc\chap10\grafdemo\res\lfboym5.bmp
\learnvc\chap10\grafdemo\res\prone.bmp
\learnvc\chap10\grafdemo\res\resource.h
\learnvc\chap10\grafdemo\res\riseboy1.bmp
\learnvc\chap10\grafdemo\res\riseboy2.bmp
\learnvc\chap10\grafdemo\res\rtboy1.bmp
\learnvc\chap10\grafdemo\res\rtboy2.bmp
\learnvc\chap10\grafdemo\res\rtboy3.bmp
\learnvc\chap10\grafdemo\res\rtboy4.bmp
\learnvc\chap10\grafdemo\res\rtboy5.bmp
\learnvc\chap10\grafdemo\res\rtboym1.bmp
\learnvc\chap10\grafdemo\res\rtboym2.bmp
\learnvc\chap10\grafdemo\res\rtboym3.bmp
\learnvc\chap10\grafdemo\res\rtboym4.bmp
\learnvc\chap10\grafdemo\res\rtboym5.bmp
\learnvc\chap10\grafdemo\res\rtbprone.bmp
\learnvc\chap10\grafdemo\res\rtfall1.bmp
\learnvc\chap10\grafdemo\res\rtfall2.bmp
\learnvc\chap10\grafdemo\res\rtfall3.bmp
\learnvc\chap10\grafdemo\res\rtfall4.bmp
\learnvc\chap10\grafdemo\res\rtkneel.bmp
\learnvc\chap10\grafdemo\res\rtsitboy.bmp
\learnvc\chap10\grafdemo\res\rtupboy1.bmp
\learnvc\chap10\grafdemo\res\rtupboym.bmp
\learnvc\chap10\grafdemo\res\toolbar.bmp
\learnvc\chap10\grafdemo\res\upboy1.bmp
\learnvc\chap10\grafdemo\resource.h
\learnvc\chap10\grafdemo\stdafx.cpp
\learnvc\chap10\grafdemo\stdafx.h
\learnvc\chap10\dibdemo\animwnd.cpp
\learnvc\chap10\dibdemo\animwnd.h
\learnvc\chap10\dibdemo\dibdemo.cpp
\learnvc\chap10\dibdemo\dibdemo.def
\learnvc\chap10\dibdemo\dibdemo.h
\learnvc\chap10\dibdemo\dibdemo.mak
\learnvc\chap10\dibdemo\dibdemo.rc
\learnvc\chap10\dibdemo\dibdoc.cpp
\learnvc\chap10\dibdemo\dibdoc.h
\learnvc\chap10\dibdemo\dibview.cpp
\learnvc\chap10\dibdemo\dibview.h
\learnvc\chap10\dibdemo\mainfrm.cpp
\learnvc\chap10\dibdemo\mainfrm.h
\learnvc\chap10\dibdemo\mdib.cpp
\learnvc\chap10\dibdemo\mdib.h
\learnvc\chap10\dibdemo\res\balloon.bmp
\learnvc\chap10\dibdemo\res\balloons.bmp
\learnvc\chap10\dibdemo\res\createdoc.ico
\learnvc\chap10\dibdemo\res\creation.ico
\learnvc\chap10\dibdemo\res\creation.rc2
\learnvc\chap10\dibdemo\res\dibdemo.ico
\learnvc\chap10\dibdemo\res\dibdoc.ico
\learnvc\chap10\dibdemo\res\space.bmp
\learnvc\chap10\dibdemo\res\toolbar.bmp
\learnvc\chap10\dibdemo\resource.h
\learnvc\chap10\dibdemo\stdafx.cpp
\learnvc\chap10\dibdemo\stdafx.h
===<End of README.TXT>==============================