I changed my class to use std::string (based on the answer I got here but a function I have returns wchar_t *. How do I convert it to std::string?
I tried this:
Following code is more concise:
wchar_t wstr[500]; char string[500]; sprintf(string,"%ls",wstr);