R
R
rshruslan2020-10-23 23:22:20
ASCII
rshruslan, 2020-10-23 23:22:20

How to use russian words and asci characters in c++ console?

I want to use ascii characters and Russian words in the console, but I can't figure out how.
These can be used with Russian words or not?
5f933b78aea96745299265.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Solovyov, 2020-10-24
@Solova23

#inclube locale. h in angle brackets
And in main function write setlocale(LC_CTUPE, "Russian") ;
For characters you type char x ='34' ;
cout< Will output the character with this code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question