摘要: /* 用正常方法 #include <iostream> #include <string> using namespace std; int main() { string Oldstr string str = "我是渣渣辉,我上八十年级"; cout<<str<<endl; str = str 阅读全文
posted @ 2022-10-29 20:20 王一行 阅读(105) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string> using namespace std; int main(int argc, char** argv) { string str = "a:=3;b:=4;c:=5"; for(int i = 1;i<=3;i++){ i 阅读全文
posted @ 2022-10-29 20:18 王一行 阅读(20) 评论(0) 推荐(0)