Fix 2006/stewart - check if FILE * == NULL

This commit is contained in:
Cody Boone Ferguson committed 2023-10-30 04:34:51 -07:00
1 parent 9f4f0981e0
commit 544f154694
3 files changed
+6 -16

No files matched your search

-16
View File
@@ -10,17 +10,6 @@ make
```
### Bugs and (Mis)features
The current status of this entry is:
```
STATUS: known bug - please help us fix
```
For more detailed information see [2006 stewart in bugs.md](/bugs.md#2006-stewart).
## To use:
```sh
@@ -48,11 +37,6 @@ where `FILE` is one of:
spirals4 squares stars stars2 tree tree2 tree3 tree4 triangle
### INABIAF - it's not a bug it's a feature! :-)
This program will very likely crash or do something funny if the file does not
exist or cannot be opened.
## Judges' remarks:
Note the interesting choice of using a `#define` in the output.