1
Window / Re: XCode wont let me compile if I put this Game class in its own file
« on: May 08, 2016, 04:08:02 pm »
Hi!
Problem was solved once I put the implementation of the methods into the .cpp file and the class in the .h file.
When it didn't work, the Game.h file had the exact same code from above (minus the main), the Game.cpp was simply empty and the main file had the include and the main function.
I'm sorry to have bothered you something this simple. Anyways thanks for your help.
Problem was solved once I put the implementation of the methods into the .cpp file and the class in the .h file.
When it didn't work, the Game.h file had the exact same code from above (minus the main), the Game.cpp was simply empty and the main file had the include and the main function.
I'm sorry to have bothered you something this simple. Anyways thanks for your help.