一. strcpy
代码实现
#include <iostream> #include <assert.h> #include <iostream> //#include <string.h> using namespace std; int strlen(const char *src) { assert(src != NULL); int lens = 0; while (*src++ != '