Multiple Inheritance/Polymorphism

I have a homework assignment coming up that I am a bit confused on. The assignment basically states that we are to use Multiple Inheritance/Polymorphism to make 21 classes in a hierarchical manner. I know how the hierarchy is supposed to look on paper but I was wondering exactly what syntax I should be using for this.

First few examples are Organism(head of "tree", Animal(child of organism), Plant(child of organism), Ectotherm(child of Animal), and Endotherm (child of Animal), etc...

If you want to see the actual assignment, here's a link.
http://www.cs.rpi.edu/academics/courses/spring13/ds/hw/10_organism_inheritance/hw.pdf

I don't need exact code but help on use of the virtual syntax and such would be greatly appreciated. Thanks :D
Read chapter 11 and 12 of this site: http://www.learncpp.com
Thanks! That is exactly what I was looking for.
Topic archived. No new replies allowed.