2021年10月19日
摘要: 一、概述 案例:回顾string字符串相关操作。 二、代码示例 #include <iostream> #include <string> #include <vector> using namespace std; void test(){ string str; str = "luoluoyan 阅读全文
posted @ 2021-10-19 13:40 飘杨...... 阅读(69) 评论(0) 推荐(0)
摘要: 一、概述 案例:练习vector容器(基本数据类型、自定义类型、容器嵌套容器),并输出vector容器中的内容 开发工具:sublinetext 二、示例图片 三、示例代码 #include <iostream> #include <vector> #include <string> #includ 阅读全文
posted @ 2021-10-19 11:14 飘杨...... 阅读(68) 评论(0) 推荐(0)