标签:des style blog color ar sp div c on
char* strcpy(char *strDest,const char *strSrc) { char *result=strDest; assert((strDest!=NULL)&&(strSrc!=NULL)); while((*strDest++=*strSrc++)!=‘\0‘); return result; } int strlen(const char *str) { int count=0; assert(str!=NULL); while(*str++!=‘\0‘) count++; return count; }
标签:des style blog color ar sp div c on
原文地址:http://www.cnblogs.com/huangcongcong/p/4003429.html