#include #include "Point.h" using namespace std; int main(void) { Point p, p2(2,3); cout << "p = " << p << endl; cout << "p2 = " << p << endl; cout << "p + p2 = " << p + p2 << endl; cout << "p + 2 = " << p + 2 << endl; // ≡ p + Point(2,0) cout << "2 + p = " << 2 + p << endl; // ≡ Point(2,0) + p cout << "p2() = " << p2() << endl; return 0; }