赞
踩
- 下面会给出list的文档介绍官网,也是本博客的参考网址~
list的文档介绍
//记住sort的头文件是这个 --> #include<algorithm>
list<int> lt1 = { 1,2,3,4,5,6 }; //定义
sort(lt1.begin(), lt1.end()); //这样写是错误的
声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。