char *strcpy(char *dst, const char *src)
{
assert(NULL != src);
assert(NULL != dst);
assert(dst != src);
char *cp = dst;
while ('/0' != (*cp++ = *src++)) ;
return dst;
}
参考文章
http://dev.csdn.net/develop/article/17/17569.shtm
http://dev.csdn.net/develop/article/16/16680.shtm