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