Hi Guys,
I'm inheriting a class as below:
class ClassA : public ClassBase
However, to do so, I need to include "ClassBase" but when I compile it, I get a redefinition error. Bit of a catch 22 don't you think? P.S. I've used header guards.
Hi Guys,
I'm inheriting a class as below:
class ClassA : public ClassBase
However, to do so, I need to include "ClassBase" but when I compile it, I get a redefinition error. Bit of a catch 22 don't you think? P.S. I've used header guards.
Last edited by Atomic_Sheep; 25th August 2013 at 13:53.
Bookmarks