#ifndef POINT_H #define POINT_H #include using namespace std; // This is just a simple class that lets us make an ordered pair (x, y) // into a single variable. Very easy. class Point { public: // Default constructor Point(); // Assignment constructor Point(int _x, int _y); // Getters and Setters int getx(); int gety(); void setx(int _x); void sety(int _y); private: // The actual points. int x; int y; }; #endif // POINT_H