Don't be too hard on me! Simply put:
foo.h:
#include "bar.h"
class foo {
private:
bar it;
void DoIt();
}
bar.h:
class bar {
public:
void Test();
}
foo.cpp:
void foo::DoIt() {
it.Test();
}
This will result in a: error LNK2001: unresolved external symbol
Why?