![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
stl
飞翔的哈士奇
帐号已弃更,转Github(DelinQu) — 2021.05
展开
-
algorithm头文件函数集结
在程序设计中使用algorithm头文件会大大提高编码效率,也减少出错,下面用代码直观的列举了algorithm中的函数,供大家参考 #include <iostream> #include <algorithm> using namespace std; int main() { cout<<max(1,2)<<' '<<mi...原创 2019-08-20 11:29:47 · 209 阅读 · 0 评论 -
STL中的容器集结
在程序设计中使用stl容器会大大提高编码效率,也减少出错,下面用代码直观的列举了其中的容器,供大家参考 1.vector #include <iostream> #include <vector> //长度变化的线性表 using namespace std; struct A { int num; string name; }; string s[5]={...原创 2019-08-20 11:42:03 · 159 阅读 · 1 评论