s和wcstombs_s(vs中添加_s); 3.使用c++11提供的wstring_convert<std::codecvt_utf8<wchar_t>>...
void main(void) { DWORD dword=0; SIZE_T size_t=dword; f(size_t); } 编译器发出警告: test.cpp(11) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'DWORD', possible loss of data 如果我取消注释void f(SIZE_T arg)我得到 test.cpp(5) : error C2084: function 'void f(...