你的问题含糊不清; wchar_t 用于存储宽字符, wstring 是存储一个宽字符串。您不能转换 string 至 wchar_t . 但是,如果您的目标是转换 std::string 至 wchar_t* ...
確定! 回上一頁