Sams Teach Yourself C++ in 21 Days

(singke) #1
2 Sams Teach Yourself C++ in 21 Days

This book uses various typefaces to help you distinguish C++ code from regular English.
Actual C++ code is typeset in a special monospacefont. Placeholders—words or charac-
ters temporarily used to represent the real words or characters you would type in code—
are typeset in italic monospace. New or important terms are typeset in italic.
In the listings in this book, each real code line is numbered. If you see an unnumbered
line in a listing, you’ll know that the unnumbered line is really a continuation of the pre-
ceding numbered code line (some code lines are too long for the width of the book). In
this case, you should type the two lines as one; do not divide them.

Sample Code for This Book ....................................................................................


The sample code described throughout this book and Appendix D, “Answers,” are avail-
able on the Sams website at http://www.samspublishing.com. Enter this book’s ISBN
(without the hyphens) in the Search box and click Search. When the book’s title is dis-
played, click the title to go to a page where you can download the code and Appendix D.

FAQ
What do FAQs do?
Answer:These Frequently Asked Questions provide greater insight into the use of the language
and clarify potential areas of confusion.

These boxes provide clear definitions of essential terms.

DOuse the “Do/Don’t” boxes to find a
quick summary of a fundamental princi-
ple in a lesson.

DON’Toverlook the useful information
offered in these boxes.

DO DON’T


These focus your attention on problems or side effects that can occur in spe-
cific situations.

CAUTION

01 0672327112_intro.qxd 11/19/04 12:24 PM Page 2

Free download pdf