摘要: 一、getline( ) int main(){ string line: while(getline(cin,line)) cout<<line<<endl; return 0;}getline()的原型:头文件:#include <string> istream& getline ( istre 阅读全文
posted @ 2021-04-25 21:53 AhPuch 阅读(491) 评论(0) 推荐(0)