+ 25

How to Print Emoji Shapes in Console (Output) Screen in C/C++ Language ?

22nd Feb 2020, 2:03 PM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
15 Respostas
+ 57
First, visit this site and search for the emoji you want. https://emojipedia.org/shortcodes/ If you found the emoji you're looking for, select it and scrolling down by selecting that emoji you'll find Unicode(example: 😀 U+1F600) below the "Codepoints". Copy it to paste it in your code. Then, remove "+" from it, Example: U+1F600 -> U1F600. Put backslash before "U" and three zeros after "U". Like: "\U0001F600" Now, print it.. std::cout<<"\U0001F600"; \\ 😀 That's it! Still, facing any errors? Feel free to ping me. :D Hope this will be helpful. :)
22nd Feb 2020, 2:52 PM
Vinay_GB
Vinay_GB - avatar
+ 6
Hope this helps 😊 int smile = 5; for (int i = 0; i < smile; i++) { cout << "\342\230\272"; } edited: ROHIT KANOJIYA🇮🇳 I only know this method.
22nd Feb 2020, 2:17 PM
Kashyap Kumar
Kashyap Kumar - avatar
+ 3
~ swim ~ have you try this? I am not able to add emoji my keyboard not shows emoji option.
22nd Feb 2020, 2:18 PM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
+ 3
Printf (" >,< ");
22nd Feb 2020, 6:01 PM
Srisawat Saosoong
Srisawat Saosoong - avatar
23rd Feb 2020, 9:06 AM
Master Forts 🇦🇷
Master Forts 🇦🇷 - avatar
+ 3
Use emoji code or simply type the emoji 😊😊 printf("➡️👍👍⬅️") //C cout("➡️👍👍⬅️") //Cpp
8th Sep 2020, 1:51 PM
Tanmay Gupta
Tanmay Gupta - avatar
+ 2
Kashyap 🌑✨🌑🇮🇳🇮🇳🇮🇳 Is there another method to print emoji?
22nd Feb 2020, 2:33 PM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
+ 2
printf("🌟😃😇🌏🎮");
23rd Feb 2020, 10:23 AM
ISTIAQUE ZAMAN
ISTIAQUE ZAMAN - avatar
23rd Feb 2020, 6:10 PM
Barbu Vulc
Barbu Vulc - avatar
0
How to print emojies in C++ using dev
24th Feb 2020, 12:35 PM
Mohammad Abdullah
Mohammad Abdullah - avatar
0
Learnt something new. Thanks!
11th Sep 2020, 12:05 PM
Ryder
Ryder - avatar
0
printf(":D"); //for a laugh printf(":("); //for a sad face and etc........
1st Dec 2022, 5:45 AM
0546-Panav Kumar
0546-Panav Kumar - avatar