65,210
社区成员
发帖
与我相关
我的任务
分享char *strcpy(char *strDest,const char *strSrc)
{
assert((strDest!=NULL)&&(strSrc !=NULL))
char *address = strDest;
while((*strDest++ = *strSrc)!='\0')
NULL;
return address;
}
struct my
{
my(const my&out)
{
i=out.i;
}
my& operator=(const my&out)
{
i=out.i;
}
int i;
};