C++ recursive data types -


A bit of a noob question: I need class A and B just as A has B * member and B In A * Members

When compiling, I do not announce "error: ISO C + + B" 'B'.

Announce the further B (or A)

  class B; // A further announcement of class A {B * B;}; B {A * A;};  

Comments