По какой-то причине, когда я компилирую свой код:
class MainClass
{
public:
MainClass(void);
bool init();
bool loadMedia();
SDL_Surface* loadSurface( std::string path );
void gameLoop();
~MainClass(void);
private:
SDL_Window* gWindow;
SDL_Surface* gScreenSurface;
SDL_Surface* gPNGSurface;
SDL_Surface* gPNGSurface;
static const int SCREEN_WIDTH = 640;
static const int SCREEN_HEIGHT = 480;
};
компилятор выдает эту ошибку для каждого указателя, который у меня есть. Любой совет?
error C2143: syntax error : missing ';' before '*'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int