摘要: #include #includeusing namespace std;class Student//声明基类{public://公用部分 Student(int n, string nam)//基类构造函数 { num=n; name=nam; } void ... 阅读全文
posted @ 2014-06-27 15:26 爱在夕阳下 阅读(620) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 //Student类 8 class Student 9 { 10 private://私有 11 char name[1... 阅读全文
posted @ 2014-06-27 13:21 爱在夕阳下 阅读(248) 评论(0) 推荐(0) 编辑