consider two C++ classes:
class cTextbox : public cControl{
public:
...
protected:
void onUpdate(bool* keys);
}
class cControl{
public:
...
protected:
virtual void onUpdate(bool*) = 0;
}
This returns me an error C2504: 'cControl': base class undefined when I define it in the CPP file. Is it possible that I cannot pass a pointer as an argument to a virtual function?