安卓编译,std::to_string(count),整形转字符一直报错,找了几个办法都不行,求高手给点意见
安卓没有to_string这个函数
char countBuf = “”;
sprintf(countBuf, “%d”, count);
point = objectes->getObject(countBuf);
可以了,非常感谢
ndk 那边支持很蛋疼
cocos2dx 有个支持tostring的方法可以直接调用
安卓编译,std::to_string(count),整形转字符一直报错,找了几个办法都不行,求高手给点意见
安卓没有to_string这个函数
char countBuf = “”;
sprintf(countBuf, “%d”, count);
point = objectes->getObject(countBuf);
可以了,非常感谢
ndk 那边支持很蛋疼
cocos2dx 有个支持tostring的方法可以直接调用