Menu
×
×
正确!
CPP - 代码练习:使用正确功能读取用户输入的一行文字。
string fullName;
cout << "Type your full name: ";
getline (cin, fullName);
cout << "Your name is: " << fullName;
不正确点击 这里 再试一次。 正确!下一个 ❯
string fullName;
cout << "Type your full name: ";
(cin, fullName);
cout << "Your name is: " << fullName;
|