Fix typos, formatting and thank yous (add links)
In some files changed the formatting was fixed to be a proper markdown file. There were some typos including that some README.md files that linked to /winners.html#Cody_Boone_Ferguson actually linked to the non-existent file /years which obviously would not work. I also added links to the rest of the places I have fixed entries (but see below) and I did the same for Yusuke Endoh's fixes. As well apparently one entry I thought he fixed to compile under modern systems does not seem to so that entry will have to be revisited another time. That entry was 1993/jonth. Those are the main changes here if not all of them.
This commit is contained in:
1 parent
ecaa022948
commit
fa682003eb
24 files changed
+146
-113
No files matched your search
+32
-26
@@ -12,24 +12,30 @@
|
||||
|
||||
### To run
|
||||
|
||||
./westley 1
|
||||
./westley number
|
||||
|
||||
NOTE: [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this to
|
||||
compile under modern systems. Thank you Cody for your assistance!
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this for modern
|
||||
systems. Thank you Cody for your assistance!
|
||||
|
||||
NOTE: this entry will segfault without an arg and will enter an infinite loop if
|
||||
input is not a number (or is a negative number).
|
||||
input is not a positive number.
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
./westley 1
|
||||
./westley 2
|
||||
./westley 3
|
||||
./westley 5
|
||||
|
||||
## Judges' comments
|
||||
|
||||
usage: westley <number>
|
||||
|
||||
If you would rather "Daisy" someone other than Westley, rename
|
||||
the program as needed. :-)
|
||||
If you would rather "Daisy" someone other than Westley, rename
|
||||
the program as needed. :-)
|
||||
|
||||
Read each block of code as if it were a piece of correspondence.
|
||||
For example, the first block of code would read:
|
||||
Read each block of code as if it were a piece of correspondence.
|
||||
For example, the first block of code would read:
|
||||
|
||||
charlie,
|
||||
doubletime me, OXFACE!
|
||||
@@ -37,30 +43,30 @@ input is not a number (or is a negative number).
|
||||
mainly die, charly, *die*
|
||||
signed charlotte
|
||||
|
||||
The original source had control-L's after each code block. To
|
||||
make it easier on news readers, we converted each control-L to
|
||||
a blank line.
|
||||
The original source had control-L's after each code block. To
|
||||
make it easier on news readers, we converted each control-L to
|
||||
a blank line.
|
||||
|
||||
Some modern compilers will not accept '1s' as a short integer - for
|
||||
these compilers we replaced the instances of `1s` with `1`.
|
||||
Some modern compilers will not accept '1s' as a short integer - for
|
||||
these compilers we replaced the instances of `1s` with `1`.
|
||||
|
||||
|
||||
## Author's comments
|
||||
|
||||
This is a "Picking the Daisy" simulation. Now, instead of mangling a
|
||||
daisy, simply run this program with the number of petals desired as
|
||||
the argument.
|
||||
|
||||
This is a good counter-example to peoples' complaints that C doesn't
|
||||
have an "English-like" syntax.
|
||||
|
||||
Lint complains about everything - null effect, xxx may be used before
|
||||
set, statement not reached, return(e) and return. Lint dumps core
|
||||
on some systems. My personal favorite lint complaint is
|
||||
|
||||
This is a "Picking the Daisy" simulation. Now, instead of mangling a
|
||||
daisy, simply run this program with the number of petals desired as
|
||||
the argument.
|
||||
|
||||
This is a good counter-example to peoples' complaints that C doesn't
|
||||
have an "English-like" syntax.
|
||||
|
||||
Lint complains about everything - null effect, xxx may be used before
|
||||
set, statement not reached, return(e) and return. Lint dumps core
|
||||
on some systems. My personal favorite lint complaint is
|
||||
|
||||
"warning: eroticism unused in function main".
|
||||
|
||||
Also obviously, (char)lotte and (char*)lie are incompatible types...
|
||||
Also obviously, `(char)lotte` and `(char*)lie` are incompatible types...
|
||||
|
||||
Copyright (c) 1990, Landon Curt Noll & Larry Bassel.
|
||||
All Rights Reserved. Permission for personal, educational or non-profit use is
|
||||
|
||||
Reference in new issue
Block a user