0_0_20678452_28666.cpp: In function 'int main()': 0_0_20678452_28666.cpp:18:25: error: 'sort' was not declared in this scope sort(num+1,num+m+1,cmp); ^