jerry_agle

导航

2008年10月17日

小算法收集

摘要: //字符串拷贝 char* strcpy(char* dest, const char* src) { assert((dest!=NULL) && (src!=NULL)); char* address = dest; while ((*dest++=*src++) != '\0'); return address; } //字符串比较 int strcmp(const char* st... 阅读全文

posted @ 2008-10-17 14:34 子蓝 阅读(217) 评论(1) 推荐(0)