class A { A a;//why can\'t we do this };
This is the way you can have a pointer to object of class A and this way it is not required to know the size of class A before it is declared at compile time.
class A { A* a; };