To write cocos2d-x based game running on iPhone, cocosBuilder should be a good UI Editor. However, in my case, I'm using Win7 and having no ideal UI Editor to choose. By chance, in one of my frie
cocos2d-x开发中汉字操作技术是必须要面对的,其中可能要用到wstring和string的相互转换。我在网络上搜索到的能够应用于android和WIN32(其他的平台没有试)环境下的汉字的可选方案是使用如下两个函数:wstring转换为string代码如下:std::string ws2s(const std::wstring& ws) {
Copyright © 2005-2023 51CTO.COM 版权所有 京ICP证060544号