International Obfuscated C Code Contest: Difference between revisions

Content deleted Content added
m Changed up the linking in the first sentence to more closely adhere to style guidelines.
m Flight simulator: syntaxhighlight
Line 189:
[[File:1998_IOCCC_Flight_simulator_screenshot.png|thumb|Pittsburgh scenery of the Flight simulator]]
This program needs the following command line on a Linux system to be compiled:<ref name=":0" />
<syntaxhighlight lang="console">
<pre>
$ cc banks.c -o banks -DIT=XK_Page_Up -DDT=XK_Page_Down \
-DUP=XK_Up -DDN=XK_Down -DLT=XK_Left -DRT=XK_Right \
-DCS=XK_Return -Ddt=0.02 -lm -lX11 -L/usr/X11R6/lib
</syntaxhighlight>
</pre>
 
In order to run the binary file ({{code|banks}}) it has to be supplied with a {{code|.sc}} scenery file via [[standard input|{{code|stdin}}]] input:<ref name=":0" />
<syntaxhighlight lang=shell"console">$ cat pittsburgh.sc | ./banks </syntaxhighlight>
 
===Akari===