overload plus subtract « Operator Overloading « C++ Tutorial






10.1.overload plus subtract
10.1.1.Define + and = for the ThreeD class
10.1.2.Overload operator plus (+)
10.1.3.Overload - for Point
10.1.4.operator+( ) function: Operator Overloading Using a Friend Function