International Obfuscated C Code Contest: Difference between revisions

Content deleted Content added
m Akari: simple non-root prompt
m Pi: syntaxhighlight
Line 122:
</syntaxhighlight>
 
(This entry was written in [[K&R C]]; it does not work correctly in ANSI C without some changes.<ref>using gcc, compile with the following command line: <codesyntaxhighlight lang="console">$ gcc -traditional-cpp -o r r.c</codesyntaxhighlight> or <codesyntaxhighlight lang="console">$ gcc -E r.c | sed 's/- -/--/g' > r2.c ; gcc -o r2 r2.c</codesyntaxhighlight> (The source file is <code>r.c</code>){{Original research inline|date=April 2017}}</ref>)
 
===Flight simulator===