摘要: #include #include using namespace std; class Student { public: Student(char *pName = "no name", int ssId = 0) { id = ssId; strcpy(name,pName); cout<<"constructing new student "<<name<<endl... 阅读全文
posted @ 2010-10-12 21:48 Cranny 阅读(1320) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; class Student { public: Student(char *pName = "No name") { coutpNext; return; } for (Student *pS = pFirst; pS; pS = pS->pNext) { if (pS->pNex... 阅读全文
posted @ 2010-10-12 20:54 Cranny 阅读(250) 评论(0) 推荐(0) 编辑