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
相關文章
相關標籤/搜索