And I had
Code:
class C {
B *b[20];
};
That worked ok. But now I read amount of B from file.
So I set:
Code:
class C {
B **b;
};
I tried to use b as used it previously, but it segfaults.
Then I tried
But it segfaults either.
Can anyone tell me what to do?
Thanks.