How to store "unsigned long" character in a string?

Started by
8 comments, last by taby 16 years, 1 month ago
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());

This topic is closed to new replies.

Advertisement