0_0_17112303_30152.cpp: In function 'bool OnSegment(Point, Point, Point)': 0_0_17112303_30152.cpp:61:5: error: expected ',' or ';' before 'if' if (C.x - MinX >= temp && MaxX - C.x >= temp && C.y - MinY >= temp && MaxY - C.y >= temp) ^