HI All,

I have a problem with forward referencing :

class classB;

class A
{
classB ram;
};

class classB
{
int i;
};

Is the code i have and compiler throwsup an error

" error C2079: 'A::ram' uses undefined class 'classB'"

To avoid confusion i have put both classes in the same file (.cpp)...