C#中的一段代码
来源:百度知道 编辑:UC知道 时间:2024/09/24 08:26:07
UNKNOWERROR = "\u64cd\u4f5c\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5\uff01";
第一个String是类String的构造函数
第二个是拷贝构造函数
~ String(void);是String类的析构函数
String & operate =(const String &other);是重载运算符&的函数
在以下情况下会用到
String a("hello world");//调用第一个函数,定义一个String类
String b(a);//调用第二个函数,
String c= a & b;//调用第四个函数
String *d = new String t;
delete d;//调用第三个函数。
未知错误?
.................
字符串?????