Add 2000/dhyang/try.sh, make void main int main

The try.sh script is as usual: replaces what the judges recommended one
try.

It was suggested to me a while back that when I encounter a void main
that I change it to int to be more portable so I have done that.

README.md file typo/format checked.

This should complete the review of 2000/dhyang.
This commit is contained in:
Cody Boone Ferguson committed 2023-11-15 06:07:16 -08:00
1 parent c0a2eedb56
commit 1fc8a46cca
4 files changed
+62 -18

No files matched your search

+4 -17
View File
@@ -15,20 +15,7 @@ make
### Try:
```sh
make saitou
./saitou > aku.c
cat aku.c
make soku
./soku > soku.c
cat soku.c
make zan
./zan > zan.c
cat zan.c
make aku
./aku | diff - aku.c
./try.sh
```
@@ -53,9 +40,9 @@ them with cool layout!
For your enjoyment:
1. Compile [dhyang.c](dhyang.c).
2. Run `./dhyang` and pipe output to another .c file
3. Compile that file
4. Repeat steps 2 and 3 until eventually the output cycles
2. Run `./dhyang` and pipe output to another `.c` file.
3. Compile that file.
4. Repeat steps 2 and 3 until eventually the output cycles.
To interpret the output: the [dhyang.c](dhyang.c.c) is an image of Saitou
Hajime, which eventually generates three sources files that are images of "aku