Hi!
I have a really small problem but no idea how to solve it.
So i have three classes "Polygon", "Surface" and "Edge".
All three of those classes need
in their header file because their declarations use a 4th class defined there.
Now "Polygon" itself also needs "Surface" and "Edge" in its header file, because it uses those.
But as soon as I double-include "mathematics.h" I get a ton of errors, starting with "redefinition".
My only solution would be to put all classes in one file, but then I would always include more than I need and the code would get messy.
How do I solve this smartly?