-
-
Save potat-dev/735c22b1c9bb693cc7a17f37b27fbb51 to your computer and use it in GitHub Desktop.
Some C++ Emoji fun found on the internet. Compiles (currently) only with clang (sorry GCC) and C++11.
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 <vector> | |
#include <cstdlib> | |
namespace ๐ต = std; | |
using ๐ข = int; | |
using ๐ฏ = unsigned; | |
using ๐ = void; | |
using ๐ = time_t; | |
using ๐ = bool; | |
#define ๐ auto | |
#define ๐ enum | |
#define ๐ false | |
#define ๐ true | |
#define ๐น "evil" | |
#define ๐ช ๐ต::make_shared | |
#define ๐ธ virtual | |
#define ๐ป ๐ต::cout | |
#define ๐ซ ๐ต::endl | |
#define ๐ rand | |
template<class ๐ฎ> | |
using ๐ = ๐ต::vector<๐ฎ>; | |
template<class ๐ฎ> | |
using ๐ = ๐ต::shared_ptr<๐ฎ>; | |
๐ ๐ { ๐ต, ๐, ๐, ๐ }; | |
๐ข ๐ฒ() { | |
๐ต::srand((๐ฏ)(๐ต::time(0))); | |
return ๐ต::๐(); | |
} | |
๐ ๐() { return ๐; } | |
struct ๐ด { ๐ธ ๐ ๐() = 0; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ป << "๐" << ๐ซ; }; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ป << "๐" << ๐ซ; }; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ป << "๐" << ๐ซ; }; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ป << "๐" << ๐ซ; }; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ป << "๐" << ๐ซ; }; }; | |
struct ๐ : ๐ด { ๐ธ ๐ ๐() { ๐ป << "๐" << ๐ซ; }; }; | |
๐ข main() | |
{ | |
if (๐() == ๐) | |
๐ป << "๐" << ๐ซ; | |
๐<๐<๐ด>> ๐ = { ๐ช<๐>(), ๐ช<๐>(), ๐ช<๐>(), ๐ช<๐>(), ๐ช<๐>() }; | |
for (๐ ๐ : ๐) | |
๐->๐(); | |
return ๐ฒ(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment