Original Post
I have a problem. Here is the code:
example.cpp:
#include "blabla.h" // here is the definition of ExampleClass
ExampleClass * SomePointer
#include "inc.h"
inc.h:
class HeHe
{
void thess()
{
SomePointer->Blah->Blah2();
}
};
I have following problem : HeHe.thess() cant acces the pointer "Somepointer" which is defined in "example.cpp".
If i try to give the pointer over an argument of thess(), it causes the error that ExampleClass is not defined. ExampleClass is defined in "blabla.h" include file.I thaught that the compiler binds all include files together to one big file and then compiles !?
Who can help me ?
thanx,
Anonymous Poster