首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

怎么将unicode转换成字符串

2012-04-09 
如何将unicode转换成字符串CString sUCode_T(00D7)TCHAR* pStop NULLwchar_t wc (short)_tcstol(

如何将unicode转换成字符串
CString sUCode=_T("00D7");
TCHAR* pStop = NULL;
wchar_t wc = (short)_tcstol(sUCode, &pStop, 16);


CString str;//如何将00D7转换成字符串"×"

[解决办法]

C/C++ code
CString str;str.Insert(0, wc); 

热点排行