Table of Contents BackCover C++ Demystified Introduction Who Should Read this Book What this Book Covers How to Read this Book Special Features Contacting the Author Chapter 1: How a C++ Program Works What Is a Computer Program? What Is a Programming Language? Anatomy of a C++ Program Translating the Code for the Computer Using an IDE to Create and Run the " Hello World! " Project Summary Quiz Chapter 2: Memory and Data Types Memory Data Types Project: Determining the Size of Data Types Summary Quiz Chapter 3: Variables Declaring Variables Assigning Values to Variables Summary Quiz Chapter 4: Arithmetic Operators Arithmetic Operators The Change Machine Project Summary Quiz Chapter 5: Making Decisions: if and switch Statements Relational Operators Flowcharting The if Statement The if / else Statement The if /else if /else Statement The switch Statement Summary Quiz Chapter 6: Nested if Statements and Logical Operators Nested if Statements Logical Operators Using the switch Statement with Logical Operators Summary Quiz Chapter 7: The For Loop Increment and Decrement Operators The For Loop Summary Quiz Chapter 8: While and Do While Loops The While Loop The Do While Loop Chapter 12: Character, CString, and C++ String Class Functions Table 12-1: Functions that Check the Value of Characters Table 12-2: Results of String Comparisons Chapter 13: Persistent Data: File Input and Output Table 13-1: File Mode Flags ... Quiz Chapter 8: While and Do While Loops The While Loop The Do While Loop Chapter 12: Character, CString, and C+ + String Class Functions Table 12-1: Functions that Check the Value of Characters... Summary Quiz Chapter 3: Variables Declaring Variables Assigning Values to Variables Summary Quiz Chapter 4: Arithmetic Operators Arithmetic Operators The Change Machine Project Summary Quiz Chapter... Statements and Logical Operators Nested if Statements Logical Operators Using the switch Statement with Logical Operators Summary Quiz Chapter 7: The For Loop Increment and Decrement Operators