For your reference, conversion is straight-forward:
string s("lalalala");
wstring ws(s.begin(), s.end());
// or...
wstring ws(L"lalalala");
string s(ws.begin(), ws.end());
How to store "unsigned long" character in a string?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement