Fork me on GitHub
摘要: 单一继承:一个父类,可以有多个子类多重继承:多个父类,只有一个子类程序示例 //多重继承 1 #include 2 using namespace std; 3 class father//父类一 4 { 5 public: 6 void set_father(int a){ tal... 阅读全文
posted @ 2015-08-07 09:21 夏成都 阅读(167) 评论(0) 推荐(0) 编辑