Additions and fixes to 2015/endoh3
Fixed Makefile so that make ; ./prog will work. He provided additional source files that do different things. See the README.md for details and how to run (try section). He said that there should be a tarball with other source files but I don't see it and he doesn't have a download. I'll ask him for it later. Updated .gitignore.
This commit is contained in:
1 parent
e017acf158
commit
ce95000c4c
6 files changed
+47
-3
No files matched your search
+33
-2
@@ -19,11 +19,42 @@ make
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
make -B BACK_TO=ioccc.c
|
||||
cc -o koch koch.c prog.c
|
||||
./koch
|
||||
|
||||
./prog
|
||||
cc -o quine quine.c prog.c
|
||||
./quine
|
||||
|
||||
cc -o pi pi.c prog.c
|
||||
./pi
|
||||
cc -DN=50 -o pi pi.c prog.c
|
||||
./pi
|
||||
```
|
||||
|
||||
For `pi.c` the macro `N` determines the number of digits after initial digit
|
||||
(which we hope you know :-) ).
|
||||
|
||||
And to see the original `mullender.c` in action try the following:
|
||||
|
||||
```sh
|
||||
cc -o prog prog.c mullender.c
|
||||
./prog
|
||||
q
|
||||
^C # where ^C is ctrl-C, interrupt.
|
||||
```
|
||||
|
||||
Observe what happens when you hit enter or another character! Send EOF to end
|
||||
the program.
|
||||
|
||||
The author, [Yusuke Endoh](/winners.html#Yusuke_Endoh), supplied the additional
|
||||
source files, which [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson)
|
||||
added to the repo for us. He wrote on his [analysis of the
|
||||
entry](https://mame-github-io.translate.goog/ioccc-ja-spoilers/2015/endoh3.html?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp)
|
||||
that there are others as well but we don't seem to have them and he didn't
|
||||
provide them on his page. We've not yet contacted him for a copy but we will in
|
||||
time. Thank you Yusuke!
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
|
||||
Like Marty and Doc, something nostalgic from 1984 appears live in October of
|
||||
|
||||
Reference in new issue
Block a user