class A
{
A a;//why can't we do this
};
You can do
class A {
A* a;
}
because it doesn't require knowing the size of A.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With