摘要: 阅读全文
posted @ 2013-05-10 17:24 helloweworld 阅读(108) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>using namespace std;class A{ int a; virtual void aa() {}};class B : virtual public A{ int b;};class C : virtual public A{ int c;};class D : public B, public C{ int d;};int main(){ c... 阅读全文
posted @ 2013-05-10 17:10 helloweworld 阅读(137) 评论(0) 推荐(0) 编辑