摘要:
1 #include <iostream> 2 3 using std::cin; 4 using std::cout; 5 using std::endl; 6 7 class Base{ 8 public: 9 Base(int a):m(a){}10 private:11 int m;12 int m1;13 };14 15 class sub1: public virtual Base16 {17 public:18 sub1(int a): Base(a) {}19 };20 21 class sub2: public virtual Base2... 阅读全文