2012年3月24日
摘要: 经常碰到字符串分割的问题,这里总结下,也方便我以后使用。 一、用strtok函数进行字符串分割 原型: char *strtok(char *str, const char *delim); 功能:分解字符串为一组字符串。 参数说明:str为要分解的字符串,delim为分隔符字符串。 返回值:从st 阅读全文
posted @ 2012-03-24 15:25 Mike_Zhang 阅读(134753) 评论(3) 推荐(17)