Last active
April 10, 2018 08:14
-
-
Save PaulChana/b6f59e113e15321f722341be1bdb960a to your computer and use it in GitHub Desktop.
[Print emoji] Print an emoji in terminal #emoji #cpp #terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
int main() | |
{ | |
// Here are some emojis... | |
// https://apps.timwhitlock.info/emoji/tables/unicode | |
std::string bee = "\U0001F41D"; // Remember this must be 8 bytes total | |
std::cout << "To " + bee + " or not to " + bee + " that is the " + question<< std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment