摘要:
#includeusingnamespacestd;voidStrCpy(char**pDestination,char*pSource);structPeople{ People() { nAge=0; } intnAge; };voidmain(){ char*pString; StrCpy(&pString,"fsfsafsadfsadfsadfsadfsdfsadfsadf"); cout>tem; } voidStrCpy(char**pDestination,char*pSource){ //cout=0) { **pDestination=pSo 阅读全文
posted @ 2013-06-24 19:13
Predator
阅读(482)
评论(0)
推荐(0)
摘要:
#includeusingnamespacestd;voidStrCpy(charpDestination[],char*pSource); voidmain(){ charpString[40]; StrCpy(pString,"ganquanfu2008"); cout>tem;} voidStrCpy(charpDestination[],char*pSource){ inti=0; intlen=0; while(pSource[i]!='\0') { i++; len++; } intj=len-1; while(j>=0) { pDe 阅读全文
posted @ 2013-06-24 09:39
Predator
阅读(245)
评论(0)
推荐(0)

浙公网安备 33010602011771号