摘要:
一、头文件:#include 二、函数原型:char * strtok (char *str, const char * delimiters);三、参数:str,待分割的c风格的字符串(c-string);delimiters,分割符字符串。四、说明:将字符串str分解成若干个单词,单词之间以de... 阅读全文
摘要:
char DNS_Return[] = "cp-kzk.zpz34.4ymga.sdfds.info."; char temp[100]= {0}; int z=0,y=0; memcpy(temp,DNS_Return,strlen(DNS_Return)); for ( z=strlen(tem... 阅读全文