0_0_37240535_5114.cpp: In function 'point get(point, point, point)':
0_0_37240535_5114.cpp:23:11: error: conflicting declaration 'point d'
point d;
^
0_0_37240535_5114.cpp:19:12: note: previous declaration as 'double d'
double d = 2 * (p.x - r.x);
^
0_0_37240535_5114.cpp:24:7: error: request for member 'x' in 'd', which is of non-class type 'double'
d.x = (c*e-f*b)/g;
^
0_0_37240535_5114.cpp:25:7: error: request for member 'y' in 'd', which is of non-class type 'double'
d.y = (a*f-d*c)/g;
^
0_0_37240535_5114.cpp:26:12: error: could not convert 'd' from 'double' to 'point'
return d;
^
|