Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // CPoint.h
- // Point
- //
- //
- #ifndef CPoint_h
- #define CPoint_h
- class CPoint
- {
- private:
- double m_X;
- double m_Y;
- public:
- CPoint();
- CPoint(double x, double y);
- ~CPoint();
- void setXY(double x, double y);
- double getX() const;
- double getY() const;
- void move(double deltaX, double deltaY);
- };
- #endif /* CPoint_h */
Advertisement
Add Comment
Please, Sign In to add comment