| The header file tripple.h. | Lecture 2 - slide 40 : 42 Program 2 |
#ifndef TRIPPLE_H
#define TRIPPLE_H
#include "point.h"
class Point;
class Tripple {
private:
int x, y, z;
public:
Tripple();
Tripple(int xi, int yi, int zi);
Tripple(Point p);
int getx() const;
int gety() const;
int getz() const;
friend std::ostream& operator<<(std::ostream&, const Tripple&);
};
std::ostream& operator<<(std::ostream&, const Tripple&);
#endif // TRIPPLE_H