摘要:
```c++
//宽字符转多字节
std::string W2A(const std::wstring& utf8)
{ int buffSize = WideCharToMultiByte(CP_ACP, NULL, utf8.c_str(), -1, NULL, NULL, NULL, FALSE); char *gbk = new char[buffSize+1]; memset(gb... 阅读全文
posted @ 2017-11-28 14:42
學海無涯
阅读(286)
评论(0)
推荐(0)

浙公网安备 33010602011771号