ifstream *inFile =newifstream(szFile); std::wstring szwFileStr((std::istreambuf_iterator<wchar_t>(*inFile)),std::istreambuf_iterator<wchar_t>()); It fails,on the bold part Need the string, containing the input from the file, to be a std::wstring (needs to handle somce chars, no...
由于wchar_t宽度没有一个统规定,导致使用wchar_t的代码在不同平台间移植时,可能出现问题。这一状况在...