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::wstring
overstd::string
? - Can
std::string
hold the entire ASCII character set, including the special characters? - Is
std::wstring
supported by all popular C++ compilers? - What is exactly a "wide character"?
No comments:
Post a Comment