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