Hi everyone,
I’m trying to get a value from the delegate class - people have said on the forum to use the following code
AppDelegate* p_delegate = (AppDelegate*)&CCApplication::sharedApplication();
However, when I compile the game I get the following error:
“lvalue required as unary ‘&’ operand”
Any ideas?