cocos2d::StringUtils
cocos2d::StringUtils::toString method can generate std::string value from variety of values int i= 100; std::string int_string= cocos2d::StringUtils::toString(i); CCLOG(“%s”, int_string.c_str()); float j= 123.4f;
Continue reading
Recent Comments