Is there anything wrong with this class prototype
Is there anything syntactically wrong with this class prototype
Code:
#include "Controller.h"
class GameEntity {
public:
virtual void SendMessage();
virtual void GetMessage();
GameController_t *Master;
};
I get these errors, and I honestly don't know why
Compiling...
Controller.cpp
c:\program files\microsoft visual studio\vc98\include\shooters\bases.h(11) : error C2143: syntax error : missing ';' before '*'
c:\program files\microsoft visual studio\vc98\include\shooters\bases.h(11) : error C2501: 'GameController_t' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\shooters\bases.h(11) : error C2501: 'Master' : missing storage-class or type specifiers
Base Classes.cpp
Skipping... (no relevant changes detected)
BaseCode.cpp
Shooters.cpp
Error executing cl.exe.
Shooters Class.exe - 3 error(s), 0 warning(s)