随笔分类 - 面试宝典、数据结构、编程之美相关
摘要:#include #include #include #include using namespace std;//字符串分割函数void StrSplit(string str,vector *strvec){ string strtemp; string::size_type pos1, pos2; pos2 = str.find(','); pos1 = 0; while (string::npos != pos2) { (*strvec).push_ba...
阅读全文

浙公网安备 33010602011771号