摘要: #include #include using namespace std; class Person { public: Person(char *pN = "no name") { cout<<"Constructing "<<pN<<endl; pName = new char[strlen(pN) + 1]; if (pName) { strcpy(pNa... 阅读全文
posted @ 2010-10-13 19:11 Cranny 阅读(278) 评论(1) 推荐(0) 编辑