0_0_26130931_25537.cpp:259:11: error: 'int inmid' redeclared as different kind of symbol
int inmid(point k1,point k2,point k3){return inmid(k1.x,k2.x,k3.x)&&inmid(k1.y,k2.y,k3.y);}
^
0_0_26130931_25537.cpp:258:5: note: previous declaration 'int inmid(double, double, double)'
int inmid(double k1,double k2,double k3){return dcmp(k1-k3)*dcmp(k2-k3)<=0;}// k3 ÔÚ [k1,k2] ÄÚ
^
0_0_26130931_25537.cpp:259:11: error: 'point' was not declared in this scope
int inmid(point k1,point k2,point k3){return inmid(k1.x,k2.x,k3.x)&&inmid(k1.y,k2.y,k3.y);}
^
0_0_26130931_25537.cpp:259:20: error: 'point' was not declared in this scope
int inmid(point k1,point k2,point k3){return inmid(k1.x,k2.x,k3.x)&&inmid(k1.y,k2.y,k3.y);}
^
0_0_26130931_25537.cpp:259:29: error: 'point' was not declared in this scope
int inmid(point k1,point k2,point k3){return inmid(k1.x,k2.x,k3.x)&&inmid(k1.y,k2.y,k3.y);}
^
0_0_26130931_25537.cpp: In function 'double point_to_seg(Point, Line)':
0_0_26130931_25537.cpp:262:25: error: cannot convert 'Point' to 'double' for argument '1' to 'int inmid(double, double, double)'
if (inmid(a.s,a.e,k3)){
^
|