0_0_38140906_5227.cpp:79:1: error: stray '\241' in program
กก double x = (double)(P.y - p1.y) * (double)(p2.x - p1.x) / (double)(p2.y - p1.y) + p1.x;
^
0_0_38140906_5227.cpp:79:1: error: stray '\241' in program
0_0_38140906_5227.cpp: In function 'bool InPolygon(Point)':
0_0_38140906_5227.cpp:79:16: error: redeclaration of 'double x'
กก double x = (double)(P.y - p1.y) * (double)(p2.x - p1.x) / (double)(p2.y - p1.y) + p1.x;
^
0_0_38140906_5227.cpp:78:16: note: 'double x' previously declared here
double x = (P.y-p1.y)/k+P1.x;
^
|