lpcwstr to string c 2b 2b

Solutions on MaxInterview for lpcwstr to string c 2b 2b by the best coders in the world

showing results for - "lpcwstr to string c 2b 2b"
Silvana
03 Jan 2021
1int main
2{
3	std::string stringtoconvert;
4
5	std::wstring temp = std::wstring(stringtoconvert.begin(), stringtoconvert.end());
6	LPCWSTR lpcwstr = temp.c_str();
7}