Hi everybody!
I have a short question about mutual linking (this is what I call it, I don't know if it's the right name...)
I have 2 classes and they both have members of the type of the other class:
//header.h
class cls_one
{
cls_two * member;
};
class cls_two
{
cls_one * member;
};
obviously this doesn't compile, but this is the way I want to do it. Is there a way to do this?
thanks
Joren