fix lab09
This commit is contained in:
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -112,7 +112,8 @@ NODE* readFile(char *filepath, int *type, int *count)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (fscanf(file, format, data) != EXPECTED_INPUT ||
|
if (fscanf(file, format, data) != EXPECTED_INPUT ||
|
||||||
*type == CHAR && *(char *)data == 'E')
|
(*type == CHAR &&
|
||||||
|
*(char *)data == 'E'))
|
||||||
{
|
{
|
||||||
free(data);
|
free(data);
|
||||||
break;
|
break;
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
Reference in new issue
Block a user