0_0_16412751_12116.cpp: In function 'int main()': 0_0_16412751_12116.cpp:14:36: error: 'qsort' was not declared in this scope qsort(sz1,n,sizeof(int),cmp); ^