摘要: 示例: #include <iostream> using namespace std; #include <string> #include <vector> #include <algorithm> //标准算法的头文件 //字符串比较 void test01() { string str1=" 阅读全文
posted @ 2024-12-16 21:04 Ricky001 阅读(23) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; #include <string> #include <vector> #include <algorithm> //标准算法的头文件 //字符串查找和替换 //1、查找 void test01() { string 阅读全文
posted @ 2024-12-16 18:52 Ricky001 阅读(34) 评论(0) 推荐(0)