![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Abstraction Mechanisms, Part 1 - slide 36 : 36 |
We program a few funny Point operators: ++, +, and ==
Both as members and as friends
![]() | Definition of Point member functions. |
![]() | A program that illustrates uses the Point operators. |
![]() | Program output. |
![]() | Definition of Point member functions and non-member operators. |
![]() | An identical program that illustrates uses the Point operators. |
![]() | Program output. |