+12

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

2/22/2020 2:03:44 PM

ROHIT KANOJIYA🇮🇳

12 Answers

New Answer

+19

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. :)

+8

https://www.sololearn.com/discuss/1485250/?ref=app

+6

cout << "😁" << '\n';

+5

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.

+4

I copy pasted the emoji icon for example here. On Windows 10 try win key and + combination. When writing code your mobile keyboard may not show emoji option. I don't use Gboard keyboard may be that has an option still enabled.

+2

~ swim ~ have you try this? I am not able to add emoji my keyboard not shows emoji option.

+2

Kashyap 🌑✨🌑🇮🇳🇮🇳🇮🇳 Is there another method to print emoji?

+1

Printf (" >,< ");

+1

printf("🌟😃😇🌏🎮");

0

https://code.sololearn.com/cink69FfosW1/?ref=app

0

https://code.sololearn.com/cLNg67dkqDOh/?ref=app

0

How to print emojies in C++ using dev