| program-organization/kn-clarification/point.h - The header file point.h. | Lecture 3 - slide 26 : 27 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;
friend std::ostream& operator<<(std::ostream&, const Point&);
};
std::ostream& operator<<(std::ostream&, const Point&);
#endif // POINT_H