Skip to content

Instantly share code, notes, and snippets.

@tana
Created July 26, 2010 16:09
Show Gist options
  • Save tana/490762 to your computer and use it in GitHub Desktop.
Save tana/490762 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#define print(str) main(){printf(str);}
print("hello\n");
普通に「gcc hello.c -o hello」でコンパイルしてから「./hello」でも実行できますが、
「perl hello.c」でも実行できます。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment