我想以简单的方式排序数组,但我确实得到下面的错误。如何处理?'sort(int [2000],int)'没有匹配的函数|而排序阵列
**No matching function for call to 'sort(int [2000], int)'|**
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
int v[2000];
std::sort(v, 2000);
cout << "Hello world!" << endl;
return 0;
}
@chris:据此编辑。 – 2014-03-24 20:50:16