#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
//dest 是目标数组
char *Strcpy(char* dest, const char*src) {
char *ret = dest;
assert(dest != NULL);
while ((*dest++ = *src++)) {
;
}
return ret;
}
int main() {
system("pause");
return 0;
}