O
O.o
This has been driving me completely bonkers for the past two days now,
and I'm at my wit's end. Let's say I have a class Foo, which is
defined in Foo.h and implemented in Foo.cpp. In another class, I want
to instantiate a Foo object. Pretty simple.
#include "Foo.h"
int OtherClass::SomeFunction(void)
{
Foo foo; //C2065: 'Foo': undeclared identifier
return 0;
}
I'm six-trillion % certain that Foo.h and Foo.cpp are compiled. In
fact, if when use the scope or member operator on 'Foo' or 'foo',
Intellinonsense CORRECTLY LISTS ITS ACCESSIBLE MEMBERS!!!! What am I
missing here??
and I'm at my wit's end. Let's say I have a class Foo, which is
defined in Foo.h and implemented in Foo.cpp. In another class, I want
to instantiate a Foo object. Pretty simple.
#include "Foo.h"
int OtherClass::SomeFunction(void)
{
Foo foo; //C2065: 'Foo': undeclared identifier
return 0;
}
I'm six-trillion % certain that Foo.h and Foo.cpp are compiled. In
fact, if when use the scope or member operator on 'Foo' or 'foo',
Intellinonsense CORRECTLY LISTS ITS ACCESSIBLE MEMBERS!!!! What am I
missing here??