S
sdgallardo
HI All,
I have a question
I have a class X and Y
which is working fine, but when I tried to add a new field to class Y
before the obj c
i causes my app to crash, but if I place the new field after the obj c
its ok.
any ideas why this happens/
class Y{
int a;
int b;
obj c;
}
class X : public Y
{
}
X::X() :Y()
{
}
I have a question
I have a class X and Y
which is working fine, but when I tried to add a new field to class Y
before the obj c
i causes my app to crash, but if I place the new field after the obj c
its ok.
any ideas why this happens/
class Y{
int a;
int b;
obj c;
}
class X : public Y
{
}
X::X() :Y()
{
}