Answer the question
In order to leave comments, you need to log in
Why is Cyrillic not displayed from C in the windows console?
#include <locale.h>
#include <stdio.h>
int main(void)
{
setlocale(LC_ALL, "Rus");
int num = 1;
printf("Привет мир!");
_getch();
return 0;
}
Answer the question
In order to leave comments, you need to log in
If it's quite simple and wooden, then save the source code in cp866 encoding and rebuild.
And if it’s difficult and correct, then learn the mat.chast. You can start from here , just look at my comment under the article, once again it’s too lazy to repeat everything - this issue has been discussed here more than once. In general, this is the most common question among Russian-speaking novice C programmers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question