Chapter 11. WORKING WITH CLASSES

You will learn about the following in this chapter:

C++ classes are feature-rich, complex, and powerful. In Chapter 9, “Memory Models and Namespaces,” you began a journey toward object-oriented programming by learning to define and use a simple class. You saw how a class defines a data type by defining the type of data to be used to represent an object and by also defining, through member functions, the operations that can be performed with that data. And you learned about two special member functions, the constructor ...

Get C++ Primer Plus, Fourth Edition 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.