Pushok icon

Learn how to out Russian with C++

Pushok | PRO | 01/30/14 05:35:41 PM UTC | 0 ⭐ | 350 👁️ | Never ⏰ | []
C++ |

290 B

|

None

|

0 👍

/

0 👎

#include <stdlib.h>
#include <conio.h>
 
#include <Windows.h>
 
#include <iostream>
 
int main(void)
{
    wchar_t* str = L"Привет, мир!";
    DWORD d;
 
    _cwprintf(str);
    WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE), str, lstrlen(str), &d, nullptr);
 
    std::cin.get();
 
    return 0;
}

Comments