In the Controller class, I have the following:
In my main function:Code:static Controller the; Controller() { static Controller the=*this; }
mainloop() is a non-static function of the Controller class. This doesn't work. I'm pretty sure I'm calling it wrong.Code:static Controller::the->mainloop();