Algorithm头文件中的sort函数使用

#include "stdafx.h" #include<iostream> #include<algorithm> #include<string> #if 0 int _tmain(int argc, _TCHAR* argv[]) { int a[10] = {9,12,17,30,50,20,60,65,4,49}; std::sort(a, a + 10); for (int i
相关文章
相关标签/搜索