会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
happy
To make a good person better.
首页
新随笔
联系
订阅
管理
上一页
1
···
74
75
76
77
78
79
80
81
82
···
91
下一页
2021年5月13日
18.2.1【STL常用查找算法find】
摘要: 1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<vector> 5 #include<algorithm> 6 #include<string> 7 8 9 /* 10 5.2 常用查找算法 11
阅读全文
posted @ 2021-05-13 11:47 yub4by
阅读(76)
评论(0)
推荐(0)
2021年5月12日
18.1【STL常用遍历算法】
摘要: 1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<vector> 5 #include<algorithm> 6 7 8 /* 9 5 STL常用算法 10 11 算法主要是由头文件<algorith
阅读全文
posted @ 2021-05-12 20:26 yub4by
阅读(173)
评论(0)
推荐(0)
17.3【STL之内建函数对象】
摘要: 1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<functional> 5 #include<vector> 6 #include<algorithm> 7 8 9 /* 10 4.3 内建函数对象
阅读全文
posted @ 2021-05-12 19:48 yub4by
阅读(45)
评论(0)
推荐(0)
17.2【STL之谓词】
摘要: 1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<vector> 5 #include<algorithm> 6 7 8 /* 9 4.2 谓词 10 11 4.2.1 谓词概念 12 返回bool类
阅读全文
posted @ 2021-05-12 19:47 yub4by
阅读(56)
评论(0)
推荐(0)
17.1【STL之函数对象】
摘要: 1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<string> 5 6 7 /* 8 4.1 函数对象 9 10 4.1.1 函数对象概念 11 12 概念: 13 重载函数调用操作符的类,其对象常
阅读全文
posted @ 2021-05-12 19:46 yub4by
阅读(45)
评论(0)
推荐(0)
16.10【STL案例2-员工分组】
摘要: #include<iostream> #include<cstdlib> using namespace std; #include<vector> #include<string> #include<map> #include<ctime> #define CEHUA 0 #define MEIS
阅读全文
posted @ 2021-05-12 16:03 yub4by
阅读(97)
评论(0)
推荐(0)
16.9.3【map容器的查找和统计、排序】
摘要: 1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<map> 5 6 7 /* 8 3.9.5 map查找和统计 9 10 find(key); //查找key是否存在,若存在,返回该键的元素的迭代器;
阅读全文
posted @ 2021-05-12 15:04 yub4by
阅读(165)
评论(0)
推荐(0)
16.9.2【map容器的大小和交换、插入和删除】
摘要: 1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<map> 5 6 7 /* 8 3.9.3 map大小和交换 9 10 size(); //返回容器中元素的数目 11 empty(); //判断容器
阅读全文
posted @ 2021-05-12 15:03 yub4by
阅读(198)
评论(0)
推荐(0)
16.9.1【map容器的基本概念、构造和赋值】
摘要: 1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<map> 5 6 7 /* 8 3.9 map/multimap容器 9 10 3.9.1 map基本概念 11 12 简介: 13 map中所有元素
阅读全文
posted @ 2021-05-12 15:02 yub4by
阅读(142)
评论(0)
推荐(0)
16.8.4【set容器的排序】
摘要: 1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<set> 5 #include<string> 6 7 8 /* 9 3.8.8 set容器的排序 10 11 学习目标:set容器默认排序规则为从小
阅读全文
posted @ 2021-05-12 11:19 yub4by
阅读(129)
评论(0)
推荐(0)
上一页
1
···
74
75
76
77
78
79
80
81
82
···
91
下一页
公告