摘要:
#include <iostream> #include <fstream> #include <string> #include <sstream> using namespace std; enum TEXT_TYPE { TEXT_ANSI = 0, TEXT_UTF8 = 1, TEXT_U 阅读全文
摘要:
//wstring转string std::string wstring2string(IN std::wstring& wstr) { std::string result; //获取缓冲区大小,并申请空间,缓冲区大小事按字节计算的 int len = WideCharToMultiByte(CP 阅读全文