string与CString互转

std::string CString2string(CString input) { #ifdef UNICODE     int len = WideCharToMultiByte(CP_ACP, 0, LPCWSTR(input), -1, NULL, 0, NULL, NULL);     char *str = new char[len];     memset(str, 0, len)
相关文章
相关标签/搜索