摘要:
1. strlen(),计算字符串长度 int strlen(const char string) { int i=0; while(string[i]) i++; return i; } 2. strcpy(), 字符串拷贝. char *strcpy(char *destination, const char *source) { while(*destinaton++=*source++); return (destination-1); } 3. strcat(), 字符串的连接. char *strcat(char *target,const char *source)... 阅读全文
posted @ 2012-06-21 13:23
沙场醉客
阅读(849)
评论(0)
推荐(0)

浙公网安备 33010602011771号