Fixes in thanks-for-fixes.md file
There were several fixes that needed to be made. Some were done and in the process I discovered some fixed entries that really should be an alternate version. That was not yet done but I have kept track of some and will find the others - another time. As there are more important things to do (like the jprint tool in the mkiocccentry repo) and since I need a break I have decided to make a pull request with the changes made. Some README.md files had to be updated for this commit as well.
This commit is contained in:
1 parent
c6e1a8aee3
commit
3500226a0c
4 files changed
+272
-297
No files matched your search
@@ -14,7 +14,7 @@ make all
|
||||
and then type a C program into followed by EOF (usually `^D`, ctrl-d).
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) made a version (also
|
||||
one line) for clang. See the alternative code section below for how to use.
|
||||
one line) for clang. See the Alternate code section below for how to use.
|
||||
Thank you Cody for your assistance!
|
||||
|
||||
## Try:
|
||||
@@ -41,7 +41,7 @@ int main()
|
||||
|
||||
NOTE: you need to make clobber first for this entry to work right.
|
||||
|
||||
## Alternative code:
|
||||
## Alternate code:
|
||||
|
||||
For clang try the alt code like:
|
||||
|
||||
|
||||
+14
-4
@@ -14,10 +14,8 @@ U.S.A.
|
||||
make all
|
||||
```
|
||||
|
||||
Misha Dynin provided a fix for [westley.c](westley.c) so that it may compile on
|
||||
both K&R and more modern C compilers. Thank you Misha! The original code, used
|
||||
for entertainment and educational value, is in [westley.alt.c](westley.alt.c),
|
||||
described below.
|
||||
NOTE: this version is a fixed version for modern C compilers. The Alternate
|
||||
code below is the original.
|
||||
|
||||
## Try:
|
||||
|
||||
@@ -25,6 +23,18 @@ described below.
|
||||
./westley
|
||||
```
|
||||
|
||||
### Alternate code:
|
||||
|
||||
The alternate code in [westley.alt.c](westley.alt.c) is the original version
|
||||
submitted to the contest. If you have an old enough compiler you can run it
|
||||
like:
|
||||
|
||||
```sh
|
||||
make alt
|
||||
```
|
||||
|
||||
Use `westley.alt` as you would `westley` above.
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Your compiler must parse
|
||||
|
||||
Reference in new issue
Block a user