0_0_33943548_26403.cpp: In function 'int main()': 0_0_33943548_26403.cpp:60:30: error: 'p' was not declared in this scope scanf("%lf %lf",&p[i].x,&p[i].y); ^ 0_0_33943548_26403.cpp:62:14: error: 'p' was not declared in this scope sort(p,p+n,cmpx); ^