UNIX C: Syntax Highlit Quine |
||||||||
|
char *rot13(char *s, char *f) { char *u=f; while(*s) *(f++)=(*s>='a'&&*s<='m')?(*(s++)+13):((*s>='n'&&*s<='z')?(*(s++)-13):*s++); *f=0; return u; } int main(int c, char **v) { char s[]="pune *ebg13(pune *f, pune *s) { pune *h=s; juvyr(*f) *(s++)=(*f>='n'&&*f<='z')?(*(f++)+13):((*f>='a'&&*f<='m')?(*(f++)-13):*f++); *s=0; erghea h; } vag znva(vag p, pune **i) { pune f[]=%p%f%p,s[1024]; cevags(ebg13(f,s),34,f,34,10); }%p",f[1024]; printf(rot13(s,f),34,s,34,10); } |
This page last modified on
Monday, 05-Feb-2018 19:43:34 UTC
Contact <webmaster@colondot.net> for more information about this
site, or <plunder@colondot.net> if you want not to be able to send
any more mail to this machine.