一、单继承 1#include<iostream>2#include <stdio.h>3usingnamespacestd;4classA {5public:6voidfunc() {7cout <<"A::func()"<<endl;8}9virtualvoidfunc1() {10cout <<"A::func1():"<<endl;11}1213virtualvoidfunc3() {14cout <<"A::func3():"<<endl;15}16};1718classB:publicA {19pub...