//point.h #ifndef POINT_CPP #define POINT_CPP class point{ protected: double x,y; public:point(double xx=0,double yy=0){ x=xx;y=yy; } point operator=(point); double magnitude(); double angle(); point operator+(point); /* #ifndef _ZTC_ point operator+(); #endif */ point operator-(point); // point operator-(); point operator*(double); point operator/(double); point operator%(point); point operator+=(point); point operator-=(point); point operator*=(double); point operator/=(double); point operator%=(point); point operator++(); point operator--(); point operator[](double); point operator<<(double); point operator>>(double); point operator<<=(double); point operator>>=(double); bool operator<(point); bool operator>(point); bool operator<=(point); bool operator>=(point); bool operator==(point); bool operator!=(point); bool operator!(); bool operator&&(point); bool operator||(point); double operator&(point); double operator|(point); double operator^(point); point operator&=(point); point operator|=(point); point operator^=(point); void print(char* msg=""); }; #endif //point.cp