📅  最后修改于: 2022-03-11 14:44:57.169000             🧑  作者: Mango
int main
{
std::string stringtoconvert;
std::wstring temp = std::wstring(stringtoconvert.begin(), stringtoconvert.end());
LPCWSTR lpcwstr = temp.c_str();
}