This commit is contained in:
HuangHai
2025-08-30 18:35:01 +08:00
commit 1f397eca87
6258 changed files with 1487241 additions and 0 deletions

11
TangDou/LianXiTi50/46.cpp Normal file
View File

@@ -0,0 +1,11 @@
#include <bits/stdc++.h>
using namespace std;
int main() {
//使用string 类定义字符串,完成字符串连接
string str1 = "C++", str2 = "程序设计";
string str3 = str1 + str2;//连接方式1
cout << str3 << endl;
return 0;
}