Advertisement
Guest User

Untitled

a guest
Jun 10th, 2010
593
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #ifndef POINT_H
  2. #define POINT_H
  3.  
  4. #include <iostream>
  5. using std::ostream;
  6. using std::istream;
  7.  
  8. class Point
  9. {
  10.     friend istream &operator>>( istream &, Point & );
  11.     friend ostream &operator<<( ostream &, const Point & );
  12. private:
  13.         int xCoordinate;
  14.         int yCoordinate;
  15. };
  16.  
  17. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement