Part 3: Expanding Your C++ Programming Repertoire

The goal of this part is to expand your C++ programming skills, beyond the OOP skills, to encompass other critical features of C++.

The initial chapter in this section explores exception handling in C++ through understanding the mechanisms of try, throw, and catch, and through examining many examples to explore exception mechanics by delving into various exception handling scenarios. Additionally, this chapter expands exception class hierarchies with new exception classes.

The next chapter digs into the topics of the proper usage of friend functions and friend classes, as well as operator overloading (which may sometimes require friends), to make operations polymorphic between built-in and ...

Get Deciphering Object-Oriented Programming with 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.