0_0_21851369_2012.cpp: In function 'int main()': 0_0_21851369_2012.cpp:20:15: error: 'sort' was not declared in this scope sort(b,&b[n]); ^