I'm including a header file (screen.h) in calss A that uses some of the functions that screen.h holds. Then I #include class A in class B. And I get redefinition errors. I have #ifndef's and #define's along with #endif's on all the headers. The function call is in the classes cpp file but thats not the definition.

Whats going on?

If I #include screen.h in class A's cpp file it works fine but I have to have those functions for my main.cpp... in which I get the redefinition erros again (once I include it).

What can I do about this? And why isn't #ifndef/#define macros working? Rather how do they work (everything works I just don't know it)

Thanks!
NOMAD