0_0_23266626_20626.cpp: In function 'int main()': 0_0_23266626_20626.cpp:16:39: error: 'qsort' was not declared in this scope qsort(a, len, sizeof(a[0]), qwe); ^