In Visual C++, I have a
LPWSTR mystring;
which is already defined somewhere else in the code.
I want to create a new LPWSTR contain
The C++ way:
std::wstring mywstring(mystring); std::wstring concatted_stdstr = L"hello " + mywstring + L" blah"; LPCWSTR concatted = concatted_stdstr.c_str();