// Point.cpp : Defines the entry point for the console application. // //#include "stdafx.h" #ifndef _POINT_H_ #define _POINT_H_ //#include #include #include using namespace std; class Point{ public: Point(int ux, int uy); Point(float kulma); Point(); Point(const Point& p); virtual ~Point(); virtual void tulosta(void) ; inline void SetxVal(int ux); void SetyVal(int uy); int GetxVal() const; int GetyVal() const; Point operator+(const Point& p) const; Point operator++(int); Point operator++(); int operator[](int nr) const; static int GetLkm(); private: static int marv; int mx, my; }; ostream& operator<<(ostream& voog, const Point& p); #endif