摘要: getline读取整行文本”。书上给的程序如下:int main(){ string line: while(getline(cin,line)) cout<<line<<endl; return 0;} 阅读全文
posted @ 2015-02-13 10:32 FREE小宝 阅读(176) 评论(0) 推荐(0) 编辑