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