摘要:
CString CConvert::UTF82WCS(const char* szU8){ //预转换,得到所需空间的大小; int wcsLen = ::MultiByteToWideChar(CP_UTF8, NULL, szU8, strlen(szU8), NULL, 0); //分配空间要 阅读全文
摘要:
void CConvert::Split(const std::string& src, const std::string& separator, std::vector<std::string>& dest) //字符串分割到数组{ //参数1:要分割的字符串;参数2:作为分隔符的字符;参数3: 阅读全文