Hello. I need some help with a project of mine and the thing is that I have the class organisms that has two sub-classes: animals and plants. Animals has two subclasses itself: Carnivores and Herbivores.
I have succeded in including the plants header file or cornivores header file or herbivores file but whenever i include more than one of them i get errors about redefinition of the class organisms and things like that. Can anyone help me please? Thanks in advance