0_0_22465016_26430.cpp:41:34: error: 'constPoint' has not been declared
bool operator == (const Point& a,constPoint &b)
^
0_0_22465016_26430.cpp: In function 'bool operator==(const Point&, int&)':
0_0_22465016_26430.cpp:43:22: error: request for member 'x' in 'b', which is of non-class type 'int'
return dcmp(a.x-b.x)==0 && dcmp(a.y-b.y)==0;
^
0_0_22465016_26430.cpp:43:42: error: request for member 'y' in 'b', which is of non-class type 'int'
return dcmp(a.x-b.x)==0 && dcmp(a.y-b.y)==0;
^
0_0_22465016_26430.cpp: In function 'double Dot(Vector, Vector)':
0_0_22465016_26430.cpp:47:5: error: 'returnA' was not declared in this scope
returnA.x*B.x + A.y*B.y;
^
|