0_0_21934933_25091.cpp: In function 'int main()': 0_0_21934933_25091.cpp:13:31: error: 'qsort' was not declared in this scope qsort(a,n,sizeof(a[0]),cmp); ^