CIS 22B - Notes for Wed Nov 22

Announcements and Reminders

Function and Operator Overloading

Notes from CIS27

Operator Overloading

Notes

Examples

Fraction class with overloaded +   and ! operators
A friendly overloaded +
The Overloaded fraction class 

Summary


Overloading the insertion operator

Examples
Overloading the insertion operator for the card class
Overloading the insertion and extraction operators for the fraction class
Printing a deck

Videos
Operator Overloading
More on Operator Overloading

Tutorial
C++ Overloading