Book 2
Understanding Objects and Classes
Contents at a Glance
Chapter 1: Working with Classes
Understanding Objects and Classes
Working with a Class
Starting and Ending with Constructors and Destructors
Building Hierarchies of Classes
Creating and Using Object Aliases
Chapter 2: Using Advanced C++ Features
Filling Your Code with Comments
Converting Types
Reading from the Console
Understanding Preprocessor Directives
Using Constants
Using Switch Statements
Supercharging enums with Classes
Working with Random Numbers
Storing Data in Arrays
Chapter 3: Planning and Building Objects
Recognizing Objects
Encapsulating Objects
Building Hierarchies
Chapter 4: Building with Design Patterns
Delving Into Pattern History
Introducing a Simple Pattern: the Singleton
Watching an Instance with an Observer
Mediating with a Pattern