Prefacep. xxi
Before You Beginp. xli
Introductionp. 1
Introductionp. 2
History of C and C++p. 3
C++ Standard Libraryp. 4
Key Software Trend: Object Technologyp. 5
Typical C++ Development Environmentp. 6
Notes About C++ and C++ for Programmersp. 8
Test-Driving a C++ Applicationp. 9
Software Technologiesp. 15
Future of C++: Open Source Boost Libraries, TR1 and C++0xp. 16
Software Engineering Case Study: Introduction to Object Technology and the UMLp. 16
Wrap-Upp. 21
Web Resourcesp. 22
Introduction to C++ Programmingp. 24
Introductionp. 25
First Program in C++: Printing a Line of Textp. 25
Modifying Our First C++ Programp. 28
Another C++ Program: Adding Integersp. 29
Arithmeticp. 33
Decision Making: Equality and Relational Operatorsp. 35
(Optional) Software Engineering Case Study: Examining the ATM Requirements Specificationp. 38
Wrap-Upp. 47
Introduction to Classes and Objectsp. 48
Introductionp. 49
Classes, Objects, Member Functions and Data Membersp. 49
Overview of the Chapter Examples...p. 51
Defining a Class with a Member Functionp. 52
Defining a Member Function with a Parameterp. 55
Data Members, set Functions and get Functionsp. 58
Initializing Objects with Constructorsp. 65
Placing a Class in a Separate File for Reusabilityp. 69
Separating Interface from Implementationp. 73
Validating Data with set Functionsp. 79
(Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements Specificationp. 84
Wrap-Upp. 92
Control Statements: Part 1p. 93
Introductionp. 94
Control Structuresp. 94
if Selection Statementp. 97
ifhellip;else Double-Selection Statementp. 98
while Repetition Statementp. 102
Counter-Controlled Repetitionp. 104
Sentinel-Controlled Repetitionp. 108
Nested Control Statementsp. 115
Assignment Operatorsp. 118
Increment and Decrement Operatorsp. 119
(Optional) Software Engineering Case Study: Identifying Class Attributes in the ATM Systemp. 122
Wrap-Upp. 127
Control Statements: Part 2p. 128
Introductionp. 129
Essentials of Counter-Controlled Repetitionp. 129
For Repetition Statementp. 131
Examples Using the for Statementp. 134
Dohellip;while Repetition Statementp. 139
Switch Multiple-Selection Statementp. 141
Break and continue Statementsp. 151
Logical Operatorsp. 153
Confusing the Equality (==) and Assignment (=) Operatorsp. 158
(Optional) Software Engineering Case Study: Identifying Objectsrsquo; States and Activities in the ATM Systemp. 159
Wrap-Upp. 163
Functions and an Introduction to Recursionp. 165
Introductionp. 166
Program Components in C++p. 167
Math Library Functionsp. 167
Function Definitions with Multiple Parametersp. 168
Function Prototypes and Argument Coercionp. 173
Table of Contents provided by Publisher. All Rights Reserved.