问答题
#i nclude 与 #i nclude "file.h"的区别?
前者是从Standard Library的路径寻找和引用file.h,而后者是从当前工作路径搜寻并引用file.h。
问答题 .h头文件中的ifndef/define/endif 的作用?
问答题 已知String类定义如下: 尝试写出类的成员函数实现。
问答题 已知strcpy的函数原型:char *strcpy(char *strDest, const char *strSrc)其中strDest是目的字符串,strSrc是源字符串。不调用C++/C 的字符串库函数,请编写函数 strcpy。