#pragma once struct Point { public: Point( int px = 0, int py = 0 ); Point( const Point& other ); void Offset( int xOffset, int yOffset ); void Offset( const Point& point ); Point& operator += ( const Point& other ); Point& operator -= ( const Point& other ); int x; int y; }; Point operator + ( const Point& p1, const Point& p2 ); Point operator - ( const Point& p1, const Point& p2 ); bool operator == ( const Point& p1, const Point& p2 );