Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef POINT_H
- #define POINT_H
- #include<iostream>
- class Point
- {
- const int x;
- const int y;
- public:
- Point(int, int);
- friend std::ostream& operator<< (std::ostream& s, const Point& p);
- friend Point& operator- (const Point& p1, const Point& p2);
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement