Answer the question
In order to leave comments, you need to log in
How to work with Cyrillic in c++?
Good day.
Prompt how correctly to make character-by-character display of a line.
Here's what's available:
#include <iostream>
#include <string>
using namespace std;
int main()
{
string word;
cin>>word;
cout<<word<<" - отображение слова целиком\n";
for (int i=0; i<word.size(); ++i)
cout<<word[i]<<' ';
cout<<" - отображение слова посимвольно\n";
return 0;
}
Unicode - Display whole word
\320 \256 \320 \275 \320 \270 \320 \272 \320 \276 \320 \264 - Display word character by character
Program ended with exit code: 0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question