随笔分类 -  B---C++面向对象程序设计

摘要:六大部件 容器结构分类 序列式容器 Array Vector Deque List FOrward-list 关联式容器 有序容器 Set/Multiset Map/Multimap 不定序容器 Unordered Set/MultiSet Unordered Map/Multimap 阅读全文
posted @ 2022-11-28 20:02 douzujun 阅读(30) 评论(0) 推荐(0) 编辑
摘要:![](https://img2022.cnblogs.com/blog/817161/202210/817161-20221019215138622-2007625953.png) ![](https://img2022.cnblogs.com/blog/817161/202210/817161-20221019220449126-1937808640.png) ![](https://img2 阅读全文
posted @ 2022-10-19 22:08 douzujun 阅读(23) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_34799070/article/details/125472381 #ifndef TEST #define TEST #include <iostream> using namespace std; void test() { cout << " 阅读全文
posted @ 2022-09-28 17:20 douzujun 阅读(39) 评论(0) 推荐(0) 编辑
摘要:std::accumulate(std::begin(x), std::end(x), string(), [](string &ss, string &s){return ss.empty() ? s : ss + " " + s;}) ss是初始值 string(),相当于上一个值 s为当前遍历 阅读全文
posted @ 2022-07-22 23:51 douzujun 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-04-02 21:52 douzujun 阅读(250) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示