摘要:
strcpy函数的原型是char *strcpy(char *strDest, const char *strSrc);不调用任何库函数实现strcpy的功能 1 // realize strcpy function without any library functions 2 #include <stdio.h> 3 #include <assert.h> 4 5 char *strcpy1(char *strDest, const char *strSrc) 6 { 7 assert (strDest != NULL); 8 9 assert (strSrc != 阅读全文