C++: split 字符串分割函数

源自ACPP的字符串分割函数算法   vector<string> split(const std::string &s) { vector<string> vec_ret; typedef string::size_type string_size; string_size i = 0; while (i != s.size()){ // ignore the space
相关文章
相关标签/搜索