C语言模拟实现strcpy功能

对于C语言模拟实现strcpy: 1,知道strcpy的功能是:把源地址开始且含有’\0’的字符串拷贝到目标的地址空间去 2,要注意参数的设计,返回值类型的设计,assert的使用,参数部分const的使用 例: 头文件c++ #include <stdio.h> #include <stdlib.h> #include <assert.h> my_strcpy函数部分web char* my_s
相关文章
相关标签/搜索