摘要: strtokchar *strtok(char *str, const char *sep);Example:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->char*token;char*path=getenv("PATH");/*PATHissomethinglike"/usr/bin:/bin/usr/sbin:/sbin"*/char*copy=(char*)malloc(strlen(path 阅读全文
posted @ 2010-12-22 10:59 Old 阅读(498) 评论(0) 推荐(0) 编辑