PART 2 Classes

Part 2 of this book covers classes, which are user-defined types in C++. Classes are the fundamental components in object-oriented programming.

Chapter 4 covers the basic features of classes. Chapter 5 describes more advanced classes that dynamically allocate memory. Chapter 6 covers some additional features of classes. Chapter 7 describes inheritance, C++'s mechanism for handling related types, and polymorphism, a feature that makes programs modular and easily extensible. Chapter 8 describes operator overloading and conversion functions, which give classes some of the properties of built-in types.