807down vote string? wstring? std::string is a basic_string templated on a char, and std::wstring on a wchar_t. char vs. wchar_t char is supposed to hold a character, usually a 1-byte character. wchar_t is supposed to hold a wide character, and then,
How to convert string to wstring? - Codejie's C++ Space - C++博客 How to convert string to wstring? 来源:http://www.codeguru.com/forum/archive/index.php/t-193852.html The copy() function does not automatically make room for the destinatio