1234
ostream& operator<<(ostream& output, const Point& p) { output << "(" << p.x << ", " << p.y <<")"; return output; // for multiple << operators. }