Working with console in Cocos2dx v3