读入一行字符给string类型

小技巧

string ss;

getline(cin,ss);

posted @ 2016-07-29 19:59  认清本质  阅读(441)  评论(1编辑  收藏  举报