i'm working with c++.
I need to create two classes that refering to each other.
Something like this:
class A {
private:
B b;
//etc...
};
class B {
private:
A a;
//etc...
};
Run Code Online (Sandbox Code Playgroud)
How can i do that?
Sorry for my bad English and thanks you for helping me :)