First of all, I'll try to be as precise as my english admit me to be. I am currently building a game engine using the SDL and I've come to a cross-inclusion problem.
I have a class Scene and a class Component. Each scene contains a list of components. I want that each component add themselves to the scene's list of component during their respective construction.
As of that, the Scene must include Component.h and the class Component need to include the Scene.h, thus provoking the cross-inclusion problem.
Is there a way to avoid that?