O'Reilly logo

C++ for Programmers: Deitel by Harvey M. Deitel, Paul J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10. Classes: A Deeper Look, Part 2

Objectives

In this chapter you’ll learn:

Image  To specify const (constant) objects and const member functions.

Image  To create objects composed of other objects.

Image  To use friend functions and friend classes.

Image  To use the this pointer.

  To create and destroy objects dynamically with operators new and delete, respectively. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required