/* * point2d.h * * Created on: 07.03.2013 * Author: trifon */ #ifndef POINT2D_H_ #define POINT2D_H_ class Point2D { private: double x, y; public: // конструктор Point2D(); Point2D(double, double); // селектори double getX() const; double getY() const; void print() const; }; #endif /* POINT2D_H_ */