I'm a noob in game development and i want to make a simple platform game in C++. The problem is whenI make two classes (Game and Graphics) I can't include Game.h in Graphics.h because I have already included Graphics.h in Game.h. Can anybody help me? code: Game.h:
#pragma once
#include "Graphics.h"
struct Game {
    Game();
    void init();
    void handle();
    bool running;
    Graphics g;
};
Graphics.h:
#pragma once
#include <SDL.h>
struct Graphics {
    SDL_Surface* screen;
    void init();
    void rect(SDL_Rect rect, Uint32 color);
    void rect(SDL_Rect rect, int r, int g, int b);
    void rect(int x, int y, int w, int h, Uint32 color);
    void rect(int x, int y, int w, int h, int r, int g, int b);
    void render(Game* game);
};
 
     
     
    