Answers for "Use of undeclared identifier '_O_U16TEXT'"

C++
0

Use of undeclared identifier '_O_U16TEXT'

#include <iostream>
#include <fcntl.h>
#include <io.h>
#include <stdio.h>

int main() {
    _setmode(_fileno(stdout), 0x00020000); // _O_U16TEXT
    std::wcout << L"Русский текст\n";
}
Posted by: Guest on June-18-2021

Code answers related to "Use of undeclared identifier '_O_U16TEXT'"

Browse Popular Code Answers by Language