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

2/22/2020 2:03:44 PM


12 Answers

New Answer


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




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


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.


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.


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


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


Printf (" >,< ");








How to print emojies in C++ using dev