摘要: C语言以sscanf逗号作为分割符 以strtok作为分割符 C++ 逗号分割符 vector<string> split(string str, string pattern){ string::size_type pos; vector<string> result; str+=pattern; 阅读全文
posted @ 2016-07-11 11:33 cogitoergosum 阅读(244) 评论(0) 推荐(0) 编辑