I put many classes' declaration in one header file, because of the very complicate relations between these classes cause a lot of problems when using include. Is this method ok? is there any thing wrong?
it's small game program. it has some component classes, a game object class, and a dx class to create window and draw scene. those component classes include some other conponent classes. some component classes have references of each other. (as I've said, it's pretty complicated) I know what cause the error - cycling include. but I'm having a big problem solving this. (because sometimes every one of three classes all have references of the other two...).