Questions tagged «unicode-string»


7
如何将wchar_t值打印到控制台?
例: #include <iostream> using namespace std; int main() { wchar_t en[] = L"Hello"; wchar_t ru[] = L"Привет"; //Russian language cout << ru << endl << en; return 0; } 此代码仅打印地址的十六进制值。如何打印wchar_t字符串?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.