摘要: 字符串类: 构造string对象和初始化#include<iostream>#include<string> using namespace std;int main(){ string s;//空串 string s1="hello,hhh";//初始化为hello,hhh string s2(" 阅读全文
posted @ 2024-11-09 08:17 fushuxuan1 阅读(17) 评论(0) 推荐(0)