Answers for "wstring to normal string"

1

wstring to string

std::string str(wstr.begin(), wstr.end());
Posted by: Guest on April-12-2021

Browse Popular Code Answers by Language