fix lab09

This commit is contained in:
SowinskiBraeden committed 2025-11-27 14:09:08 -08:00
1 parent 50d8a4dae9
commit 09d532c33e
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -112,7 +112,8 @@ NODE* readFile(char *filepath, int *type, int *count)
else
{
if (fscanf(file, format, data) != EXPECTED_INPUT ||
*type == CHAR && *(char *)data == 'E')
(*type == CHAR &&
*(char *)data == 'E'))
{
free(data);
break;
+1 -1
View File
@@ -1 +1 @@
apple,banana,blackberry,blueberry,cherry,grape,kiwi,lemon,mango,orange,peach,pear,pineapple,raspberry,strawberry,watermelon
101,158,205,219,317,347,412,501,516,604,629,732,739,813,826,945,32767