摘要:
1 #include 2 #include 3 4 5 int strlen(const char *str) 6 { 7 int length=0; 8 while(*str++!='\0') 9 {10 length++; 11 }12 return length;13 }14 15 char *strcopy(char *dest,const char *source)16 {17 if(source==NULL)18 {19 printf("Error:StrSource is NULL \... 阅读全文