1.string s; getline(cin, s);
2.输入输出流
3.string s;
数据结构
原文:https://www.cnblogs.com/bear-xin/p/14725901.html