具体看如下注释和代码: #define _CRT_SECURE_NO_WARNINGS #include using namespace std; class Name { public: Name(const char* pname) { size = strlen(pname); pName = (char*)malloc(size + 1); strcpy(pName, pname); cout << 调用11 << endl; } Name(Name& obj) { //用obj来初始化自己 pName = (char*)m