I am not able to understand the differences between std::string and std::wstring. I know wstring supports wide characters such as Unicode characters. I have got the following questions:
- When should I use
std::wstringoverstd::string? - Can
std::stringhold the entire ASCII character set, including the special characters? - Is
std::wstringsupported by all popular C++ compilers? - What is exactly a "wide character"?
No comments:
Post a Comment