#include #include "point.h" using namespace std; // Default constructor Point::Point() { x = 0; y = 0; } // Assignment constructor Point::Point(int _x, int _y) { x = _x; y = _y; } // Getters and Setters int Point::getx(void) { return x; } int Point::gety(void) { return y; } void Point::setx(int _x) { x = _x; } void Point::sety(int _y) { y = _y; }