Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 21st, 2012  |  syntax: None  |  size: 0.34 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /*
  2.  * File:   Point.h
  3.  * Author: max
  4.  *
  5.  * Created on 17 Февраль 2011 г., 17:07
  6.  */
  7.  
  8. #ifndef POINT_H
  9. #define POINT_H
  10.  
  11. class Point
  12. {
  13. public:
  14.     Point(double _x = 0,double _y = 0) : x(_x),y(_y) {}
  15.  
  16.     void Show() const;
  17.     void Set_Coordinate(double x1,double y1);
  18. private:
  19.     double x,y;
  20. };
  21.  
  22. #endif  /* POINT_H */