Jump to content

  • Log In with Google      Sign In   
  • Create Account


stevo5800

Member Since 04 Sep 2012
Offline Last Active Sep 20 2013 03:46 PM
-----

#5038719 [SOLVED] 'Game' does not compile.

Posted by stevo5800 on 03 March 2013 - 07:12 AM

you have 2 definition of the class here's what it should look like 

 

header file 

 

 

class Game

{

    // Starts the game

    void Start();

};

 

cpp file

 

#include "Game.h"

 


void Game::Start()

{

    SDL_Init( SDL_INIT_EVERYTHING );

    SDL_Quit();

}




PARTNERS