I'm trying to build a class called MainGame that inherits from the class Game. Everything was coming along great until I needed to feed MainGame's constructor input into Game's constructor. Here's the code for the derived class MainGame:
#include <string>
#include "Game.h"
class MainGame : public Game
{
public:
MainGame(HWND *hwnd) : Game::Game(hwnd) {};
I just realized I didn't include windows.h at the top of MainGame.h, but that doesn't change anything anyways. It's not complaining about HWND being undefined, and even with it included nothing changes.
Thanks guys, I don't know why I didn't catch that. I had the call to the Game constructor inside another function originally and didn't get rid of the scope resolution operator when I moved it.