IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

2020/endoh2 - Best perspective

Author:

To build:

    make

To use:

    ./prog

Try:

    ./try.sh

What happens if you do

    ./prog prog.c

?

Judges’ remarks:

Clever use of the C99 complex data type. The obfuscation directory contains clues as to how some winning authors create / edit programs into ASCII shapes.

With the source from the obfuscation directory could you make the code render for a larger terminal window? How about adding more glyphs?

Author’s remarks:

No! Try not. Do, or do not. There is no try.

    cc -std=c99 prog.c
    ./a.out
    ./a.out hello.txt
    ./a.out yoda.txt
    ./a.out bear.txt

Inventory for 2020/endoh2

Primary files

Secondary files


Jump to: top