摘要: 来自https://www.cnblogs.com/jm-Xu/p/9318705.html string(s小写)是C++标准库中的类,纯C中没有,使用时需要包含头文件#include<string> 1 string的定义及初始化 2 string s1 = "hello"; //初始化字符串 阅读全文
posted @ 2019-11-10 20:59 月亮茶 阅读(1688) 评论(0) 推荐(3) 编辑