C++: I have an issue with redefinition of classes...
Posted on 2005-05-01
This problem should be easily solvable... Here is the situation:
1) I have 4 classes ( class A, B, C & D ).
2) Functions from class A are needed in class B & C, so I have #inlcluded "A" in both classes.
3) Class D needs both class B & C. And this means that class A is #included twice, so the compiler is complaining that I am redefining them.
HOW DO I GET AROUND THIS?
Thank you experts,