Chapter 1 Introduction to Computers and C++ Programming . . 1 Chapter 2 C++ Basics . . 39 Chapter 3 More Flow of Control . . 109 Chapter 4 Procedural Abstraction and Functions That Return a Value . . 179 Chapter 5 Functions for All Subtasks . . 247 Chapter 6 I/O Streams as an Introduction to Objects and Classes . . 299 Chapter 7 Arrays . . 377 Chapter 8 Strings and Vectors . . 447 Chapter 9 Pointers and Dynamic Arrays . . 499 Chapter 10 Defining Classes . . 527 Chapter 11 Friends and Overloaded Operators . . 595 Chapter 12 Separate Compilation and Namespaces . . 681 Chapter 13 Pointers and Linked Lists . . 717 Chapter 14 Recursion . . 763 Chapter 15 Inheritance . . 805 Chapter 16 Exception Handling . . 859 Chapter 17 Templates . . 891 Chapter 18 Standard Template Library . . 921 Appendices 1 C++ Keywords . . 975 2 Precedence of Operators . . 976 3 The ASCII Character Set . . 978 4 Some Library Functions . . 979 6 Overloading the Array Index Square Brackets . . 988 7 The this Pointer . . 990 8 Overloading Operators as Member operators . . 993 Index . . 921