#include #include "point.h" void main() { Point p1(5,10); Point p2; cout << "point 1: "; p1.print(cout); cout << endl; cout << "point 2: "; p2.print(cout); cout << endl; // we can copy the returned Point with '='. p2 = p1.invert(); cout << "point 1: "; p1.print(cout); cout << endl; cout << "point 2: "; p2.print(cout); cout << endl; }