Loading

摘要: 用istringstream 分割 #include<sstream> //istream string text = "aaa bb ccc d"; istringstream is(text); string word; while (is >> word) { cout<<word<<endl 阅读全文
posted @ 2021-12-26 21:39 柴承训 阅读(462) 评论(0) 推荐(0)