I have two variables that are LPCWSTRs. I want to create a new variable that will have the values of the first and second variable.
I tried this but it didn’t work.
LPCWSTR d = L"sd";
LPCWSTR f = L"f";
LPCWSTR df = d + f;
I get this error when i try that.
1 IntelliSense: expression must have integral or enum type
Is there a function that can combine two LPCWSTRs?
In C++ it is usually a good idea to use
std::stringfor manipulations with strings. In your case it could look like: