#include
#include
using namespace std;
//测试字符串输入输出问题练习
int main(){
string str;
getline(cin, str);
cout << str << endl;
char ch[25];
cin.getline(ch, 25);
cout << ch << endl;
cout << endl;
system("pause");
return 0;
}
#include
#include
using namespace std;
//测试字符串输入输出问题练习
int main(){
string str;
getline(cin, str);
cout << str << endl;
char ch[25];
cin.getline(ch, 25);
cout << ch << endl;
cout << endl;
system("pause");
return 0;
}