摘要: 1.多继承 多继承是指一个子类继承多个父类。多继承对父类的个数没有限制,继承方式可以是公共继承、保护继承和私有继承, 不写继承方式,默认是private继承 多继承举例: #include <iostream>#include <stdlib.h>#include <string>using nam 阅读全文
posted @ 2017-06-27 14:47 fire909090 阅读(6331) 评论(0) 推荐(0) 编辑