摘要: void split(const string &s, char delim, vector &elems) { stringstream ss(s); string item; while (getline(ss, item, delim)) { elems.push_back(item); } // return elems; } ... 阅读全文
posted @ 2018-08-06 18:31 于光远 阅读(1602) 评论(0) 推荐(1) 编辑