B
Belebele
Why would the compiler give an error in the code below? Why would the
class declaration be required to compile the code below:
class Foo;
Foo& g();
void f()
{
g(); // use of undefined type 'Foo'
}
I am using VC++ 6.0 and VC++ 8.0
Thanks
class declaration be required to compile the code below:
class Foo;
Foo& g();
void f()
{
g(); // use of undefined type 'Foo'
}
I am using VC++ 6.0 and VC++ 8.0
Thanks