读入一行字符给string类型

小技巧

string ss;

getline(cin,ss);

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