Dev C++ not showing Emojis | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Dev C++ not showing Emojis

Hello friends i just run this code.But my devc++ instead of giving me emojis he showing question marks.Any suggestion to solve this problem in dev C++. #include <iostream> using namespace std; int main(){ int a , b; char c,d ; a=1; b=2; c=a; d=b; cout<<"First character variable:"<<c<<endl; cout<<"Second character variable:"<<d<<endl; cout<<sizeof(a)<<endl; cout<<sizeof(b)<<endl; cout<<sizeof(c)<<endl; cout<<sizeof(d); }

6th Oct 2020, 12:09 PM
Fareed khan
Fareed khan - avatar
2 Answers
+ 2
Are you sure you posted the right code? it seems your code there doesn't have any emoji character. P.S. Different IDE or code editor may need different way for setting up Unicode output.
6th Oct 2020, 1:10 PM
Ipang
+ 1
Yes on my friends computer its giving emojis
7th Oct 2020, 5:20 AM
Fareed khan
Fareed khan - avatar