using namespace std;typedef struct{ float x; //点的x,y坐标 float y;}POINT;//辅助点的结构 typedef struct{ int index; //点在x数组中的下标 float x; //点的x,y坐标 float y;}A_POINT;bool compareX(POINT a,POINT b){ return b.x>a.x;} bool compareY(A_POINT a...
continue; } } bBuil[i].x = x; bBuil[i]