64,682
社区成员
发帖
与我相关
我的任务
分享
#include <iostream>
#include <string>
using namespace std;
void main()
{
cout << "Please input two strings:";
string str1, str2;
cin >> str1 >> str2;
cout << "The 1st string is: " << str1 << endl;
cout << "The 2nd string is: " << str2 << endl;
system("pause");
}