Created
May 3, 2012 16:38
-
-
Save rhysd/2587074 to your computer and use it in GitHub Desktop.
Preprocess-time stdin
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
#include <iostream> | |
int main() | |
{ | |
char str[] = "" | |
#include "/dev/tty" | |
""; | |
std::cout << str << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment