It is required to organize multiple inheritance in C ++ according to this scheme:

enter image description here

Closed due to the fact that the essence of the issue is not clear to the participants Vlad from Moscow , Harry , aleksandr barakin , Kromster , Abyx 21 Dec '16 at 18:34 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • Please tell us about your ideas, how this can be implemented, show attempts to do this, describe specific problems and ask specific questions - Matty
  • 1. Bad design issue. 2. what's the multiple inheritance? 3. Actually, you have the answer in the picture. - Sublihim
  • there is no multiple inheritance in your picture, everywhere is normal (from one class) - perfect
  • @ user231812 The meaning of the question is not clear. - Vlad from Moscow

1 answer 1

class A {}; class B: public A {}; class C: public A {}; class D: public C {}; class E: public C {}; class F: public E {}; class G: public D {}; class H: public A {}; 

as said, there is no multiple inheritance.