Hello,
i have a pointer to a wchar_t value and want to copy that value into a string. i thought i could do it like this:
std::string s = (char*) pointer_to_wchar_t;
i figured out that i only have the first char in the string afterwards. i assumbe because i only move the pointer to the first char into the string. how can i get the entire value of the wchar_t into my string?
thank you.
Start Free Trial