We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 869e7bb commit e7b319aCopy full SHA for e7b319a
Test/Templates/locale.cpp
@@ -0,0 +1,9 @@
1
+#include <iostream>
2
+using namespace std;
3
+
4
+int main() {
5
+ setlocale(LC_ALL, "Russian");
6
+ wcout << L"Русский текст" << endl;
7
+ cout << "English " << L"text" << endl;
8
+ // в обычный cout нельзя выводить wide-строки
9
+}
0 commit comments