页首Html代码

返回顶部
摘要: 需求:数据库取出的字段类似于 "1,3,4"然后用数字处理后,,比如 "1,2,3" 再存回去#include#includeclass MyStr{public: //根据 "1,2,3" 获得数字数组 static int *split(char * str,const char *split,const int count){ if(strlen(str)==0 || strlen(split)==0) return NULL; if(count <=1) return NULL; int * ints=new ... 阅读全文
posted @ 2013-12-20 20:13 ayanmw 阅读(7313) 评论(2) 推荐(0) 编辑

页脚Html代码