2017年11月7日
摘要: 一 strok:从字符串中按照分隔符提取所有字串 char s[] = "水发产品,47.6,不合格,mg/kg,17-05-21 15:04;"; char *delim = ",;"; //分隔符列表 char *p; printf("%s\n", strtok(s, delim)); whil 阅读全文
posted @ 2017-11-07 09:11 杰瑞鼠 阅读(181) 评论(0) 推荐(0) 编辑