0_0_36037613_4025.cpp: In function 'int main()': 0_0_36037613_4025.cpp:25:34: error: 'gsort' was not declared in this scope gsort(p,n,sizeof(p[0]),cmp); ^