Objectives of This Chapter

By the end of this chapter, you should

  1. Understand what a user defined type (a class) is, and how it is defined.

  2. Understand how variables of some simple classes are created, destroyed, and copied.

  3. Understand how and why access to the internals of a class is controlled.

Get Learning to Program in C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.