home *** CD-ROM | disk | FTP | other *** search
- Here, the overloaded minus operator is called to find the
- difference between the values of the Fraction objects "y" and "x".
- The difference is assigned to the Fraction object "w". Notice
- that the expression "x - y" calls a friend function when the
- operator is overloaded as a friend, or calls a member function
- when the operator is overloaded as a member of the class.
-