K
K
kenny1822017-02-27 22:16:02
C++ / C#
kenny182, 2017-02-27 22:16:02

How to output Russian text to the console?

Hieroglyphs are displayed in the console. setlocale registered. When printf("Введите имя файла\n");
displayed normally.
At

fgets(buffer, 100, inputFile);
printf("%s", buffer);
hieroglyphs

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kenny182, 2017-02-27
@kenny182

It was necessary to change the encoding to ANSI. Thanks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question