公告
财富商城
积分规则
提问
发文
2019-02-20 15:08发布
ゆ 、 Hurt°
I would like to convert a LPCWSTR to wstring in C++ (VS 2010). I want to use this in OutputDebugStringW().
Thank you.
Well just pass the LPCWSTR to the constructor of wstring like this:
LPCWSTR
wstring
LPCWSTR str=L"fun"; wstring str2(str);
最多设置5个标签!
Well just pass the
LPCWSTR
to the constructor ofwstring
like this: