+ 25
How to Print Emoji Shapes in Console (Output) Screen in C/C++ Language ?
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. :)
+ 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.
+ 3
~ swim ~ have you try this?
I am not able to add emoji my keyboard not shows emoji option.
+ 3
Printf (" >,< ");
+ 3
Use emoji code or simply type the emoji 😊😊
printf("➡️👍👍⬅️") //C
cout("➡️👍👍⬅️") //Cpp
+ 2
Kashyap 🌑✨🌑🇮🇳🇮🇳🇮🇳
Is there another method to print emoji?
+ 2
printf("🌟😃😇🌏🎮");
0
How to print emojies in C++ using dev
0
Learnt something new. Thanks!
0
printf(":D"); //for a laugh
printf(":("); //for a sad face
and etc........