Why doesn't Russian console c++?

Hello. The question arose with the output Cyrillic in the console. I tried this code:
#include <iostream>
#include <clocale>
#include <windows.h>

int main() {
setlocale(LC_ALL,"Rus");
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
 cout << "Hello";

 return 0;
}

I have tried to use setlocale separately, and separately SetConsoleCP/SetConsoleOutputCP, and together, and change"Rus" to NULL and in the console settings set Lucida Console - nothing helps. Any ideas?
March 23rd 20 at 19:16
2 answers
March 23rd 20 at 19:18
I Russian language in console do:
int main()
{
 setlocale(LC_ALL, "Russian");
}
March 23rd 20 at 19:20
Another option used. After this you need to clear the console :
system("chcp 1251");
system("cls");

Find more questions by tags WindowsC++Command line