Created
May 11, 2017 14:33
-
-
Save rafalcieslak/bb4176efeb5128ef87a64aaf255eba3c to your computer and use it in GitHub Desktop.
C++ Quine 2
This file contains 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
const char* code = R"( | |
#include <iostream> | |
int main() { | |
std::cout << "const char* code = R\"(" << code << ")\";" << code; | |
} | |
)"; | |
#include <iostream> | |
int main() { | |
std::cout << "const char* code = R\"(" << code << ")\";" << code; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment