65.9K
CodeProject 正在变化。 阅读更多。
Home

C++ 中将 ASCII 字符串转换为 Unicode

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.89/5 (2投票s)

2011 年 3 月 28 日

CPOL
viewsIcon

28417

std::string source = "Hello World"; std::wstring result( source.begin(), source.end() ); 减少了一行代码!

std::string source = "Hello World";
std::wstring result( source.begin(), source.end() );
减少了一行代码!
© . All rights reserved.