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
相關文章
相關標籤/搜索