36 Point(
int newx,
int newy);
int getX() const
Definition: point.cpp:20
friend bool operator!=(const Point &a, const Point &b)
Definition: point.cpp:83
int getY() const
Definition: point.cpp:26
void operator+=(const Point &right)
Definition: point.cpp:44
friend Point operator+(const Point &a, const Point &b)
Definition: point.cpp:106
void setY(int newy)
Definition: point.cpp:38
friend Point operator-(const Point &a)
Definition: point.cpp:68
friend std::ostream & operator<<(std::ostream &out, const Point &pt)
friend bool operator==(const Point &a, const Point &b)
Definition: point.cpp:77
Point()
Definition: point.cpp:6
Point & operator=(const Point &other)
Definition: point.cpp:51
friend std::istream & operator>>(std::istream &in, Point &pt)
void setX(int newx)
Definition: point.cpp:32