-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Just doesn't work. I can't find a solution.
Visual studio 2019.
and in graphics.h i get an unexpected token struct.
Main.cpp
/*
Main.cpp
Entry point for the program.
*/
#include "game.h"
int main(int argc, const char* argv[]) {
Game game;
return 0;
}
graphics.h
#ifndef GRAPHICS_H
#define GRAPHICS_H
struct SDL_Window;
struct SDL_Renderer;
class Graphics {
public:
Graphics();
~Graphics();
private:
SDL_Window* _window;
SDL_Renderer* _renderer;
};
#endif
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels