随笔分类 -  面试宝典、数据结构、编程之美相关

摘要:#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... 阅读全文
posted @ 2013-10-07 15:49 super 86 阅读(547) 评论(0) 推荐(0)