qiqiBoKe
#include "iostream.h"
#include "assert.h"                             字符复制的原形代码!
char *strcpy(char *d,char *s)               void strcpy(char *d,char *s)
                                                          {
 char *tem;                                                while(*s!="/0")
 assert(d!=NULL&&s!=NULL);                     {*d=*s;
 tem=d;                                                             s++;
 while((*(d++)=*(s++))!=\'\0\')                             d++;
  NULL;                                                          }
 return tem;                                           }
  

分类:

技术点:

相关文章: