Introduction
This book is designed to help you teach yourself how to program with C++. In just 24 one hour lessons, youll learn about such fundamentals as the managing I/O, loops and arrays, object-oriented programming, templates, and creating C++ applicationsall in well-structured and easy-to-follow lessons. Lessons provide sample listingscomplete with sample output and an analysis of the codeto illustrate the topics of the day. Syntax examples are clearly marked for handy reference.
To help you become more proficient, each lesson ends with a set of common questions and answers, exercises, and a quiz. You can check your progress by examining the quiz and exercise answers provided in the books appendix.
Who Should Read This Book
You dont need any previous experience in programming to learn C++ with this book. This book starts you from the beginning and teaches you both the language and the concepts involved with programming C++. Youll find the numerous examples of syntax and detailed analysis of code an excellent guide as you begin your journey into this rewarding environment. Whether you are just beginning or already have some experience programming, you will find that this books clear organization makes learning C++ fast and easy.
Conventions
 |
|
These boxes highlight information that can make your C++ programming more efficient and effective.
|
|
 |
|
These focus your attention on problems or side effects that can occur in specific situations.
|
|
|
These boxes provide clear definitions of essential terms.
|
|
| DO use the Do/Dont boxes to find a quick summary of a fundamental principle in a lesson.
| DONT overlook the useful information offered in these boxes.
|
This book uses various typefaces to help you distinguish C++ code from regular English. Actual C++ code is typeset in a special monospace font. Placeholderswords or characters temporarily used to represent the real words or characters you would type in codeare 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, youll know that the unnumbered line is really a continuation of the preceding 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.