📌  相关文章
📜  在 C++ 代码示例中输入一个字符串

📅  最后修改于: 2022-03-11 14:44:50.206000             🧑  作者: Mango

代码示例1
string fullName;
cout << "Type your full name: ";
getline (cin, fullName);
cout << "Your name is: " << fullName;