I'm experienced in C++, i'm at an intermediate level in C++. I read the tutorial, were it mentions that
"Yep, that's true. Mac OS X just won't agree if you try to create a window or handle events in a thread other than the main one."
So at first, i was creating it in a seperate h/cpp file but then i was left wondering, must i only have the window and event in the main function and everything else in a seperate class? Just a curiosity!