I have gained some knowledge about C++ And i know how to print a text. Is there a way to print hindi language output. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

I have gained some knowledge about C++ And i know how to print a text. Is there a way to print hindi language output.

18th Dec 2016, 2:59 AM
Jayvardhan Choudhary
Jayvardhan Choudhary - avatar
3 Answers
+ 2
When I type it then it shows output in some other language #include <iostream> using namespace std; int main() { cout<<"गजनी"; }
18th Dec 2016, 3:36 AM
Jayvardhan Choudhary
Jayvardhan Choudhary - avatar
+ 2
Maybe its an Unicode issue.
18th Dec 2016, 4:31 AM
Doolitha Samaranayake
Doolitha Samaranayake - avatar
+ 1
You'll print whatever you cout to the console, so you can print Hindi language by just using cout << "text";
18th Dec 2016, 3:07 AM
B L
B L - avatar