噜噜哒
标准C++的string对象吗?木有,自己写void SubString(vector<string>& out, const string& src, const string& delimit){size_t offset = 0, offset1 = 0;while(offset1 = src.find_first_of(delimit , offset1) > 0){out.append(src.substr(offset, offset1 - offset));offset = offset1;}}void SubString(vector<string>& out, const string& src, const vector<char>& delimit){}我的思路大概是这样了