0_0_21652535_17508.cpp:39:34: error: 'constPoint' has not been declared
bool operator == (const Point& a,constPoint &b)
^
0_0_21652535_17508.cpp: In function 'bool operator==(const Point&, int&)':
0_0_21652535_17508.cpp:41: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_21652535_17508.cpp:41: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_21652535_17508.cpp: In function 'double Dot(Vector, Vector)':
0_0_21652535_17508.cpp:45:5: error: 'returnA' was not declared in this scope
returnA.x*B.x + A.y*B.y;
^
|