摘要: int main() { string line,b; getline(cin,line); stringstream ss(line); while(ss>>b) { cout<<b<<endl; } } string读取某一行,然后按空格分隔吹每一个string char str[] = "no 阅读全文
posted @ 2020-07-21 20:54 于光远 阅读(3322) 评论(0) 推荐(0) 编辑