program-organization/kn-clarification/point.h - The header file point.h. | Lecture 2 - slide 44 : 46 Program 1 |
#ifndef POINT_H #define POINT_H #include "tripple.h" class Tripple; class Point { private: double x, y; public: Point(); Point(double d); Point(double d, double e); Point(Point& p); Point(Tripple t); operator double() const; double getx () const; double gety () const; }; std::ostream& operator<<(std::ostream&, const Point&); #endif // POINT_H