I am new to C++ and have a question about include files. I have some classes that I want to share between the main and other classes also. So I include the reference in my main and also in my class. However, this causes a compiler error. If I comment out one reference than it works fine, but as soon as there are two references to a .h file it throws an error.
I know this is going to be elementary, but I have searched and can't seem to figure this out. Any help would be appreciated.
Thanks