class A { ......... }; class B : public A { .......... } ; class C { ........... }; class D : public B, public C { ........... };