Loading

摘要: STL初步 1.排序与检索 algorithm头文件中的sort可以给任意对象排序,包括内置类型和自定义类型,前提是定义了“ include inlcude using namespace std; const int N=100; //比较函数,降序排列 bool cmp(int x,int y) 阅读全文
posted @ 2019-07-26 09:28 xaopng 阅读(234) 评论(0) 推荐(0)