4 Commits
Author SHA1 Message Date
omoikane 2955e5d07e Added reference to binmode_main.h 2025-05-15 18:01:35 -07:00
omoikane 08698896c0 Deleted reference to omoikane.alt2.c 2025-05-15 17:57:37 -07:00
omoikane aff78be8f9 Adjusted alternate version to preserve formatting
The first alt version added some whitespaces that broke the outline, so
I simply filled those up.  I also expanded tabs to spaces since there is
no size limit restriction for the alternate version.

The second alt version attempted to force binary mode with _setmode()
and _fileno() calls, plus some additional headers.  Rather than doing it
this way, I hack in the binary mode adjustments via preprocessor.

Actually I did a similar trick for IOCCC 2011, but I guess I didn't
submit that version:
https://uguu.org/archive/ioccc2011/akari/source/binmode_main.h

The file above uses _setmode() and _fileno().  The leading underscore
indicates that they were nonstandard extensions.  For the binmode_main.h
in this change, I have opted for setmode() and STDIN_FILENO instead,
which are more widely available.
2025-05-15 17:51:12 -07:00
omoikane c940a154cd Update Don_Yang.json 2024-12-29 08:49:19 -08:00