Hi! I've been making a rather large (but not huge, by any means) program and it needs, or so I think, a couple of classes and I want them to use inheritance to make my life easier. However, when I try to include all of my files in the main file, I get errors saying that the class that all of the other classes are inheriting from is being redefined.
How can I make the class be defined once and yet #include
it in multiple files that go on to be included in the same file.
I thought that maybe some sort of #undef
preprocessor command might work...
Thanks, JT