O'Reilly logo

Sams Teach Yourself C++ in 24 Hours, Third Edition by Jesse Liberty

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

Hour 14. Operator Overloading

In the previous hour you learned how to overload member methods and how to create a copy constructor to provide deep copies. In this hour you will learn

  • How to overload member functions

  • How to overload the assignment operator to manage memory

  • How to write functions to support classes with dynamically allocated variables

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