Edited by Mathew Bergen, 29 November 2012 - 12:05 AM.
OOP and SDL problems
Members - Reputation: 594
Posted 29 November 2012 - 12:03 AM
Crossbones+ - Reputation: 4453
Posted 29 November 2012 - 12:23 AM
Sounds to me like you're attempting to use SDL before initializing SDL.
... but the program crashed when i defined them in the class and then initialize them in the constructor. So i initialize them in the class as const static SDL_Surfaces; I still got an error saying i need to have a const member to initialize them in the class....