Änderung 2 vom 24.10

This commit is contained in:
Giorgi Kesidis 2025-10-24 14:13:05 +02:00
parent 673b381e04
commit 2d9fc96112

View File

@ -9,9 +9,9 @@
int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
{
//kein fopen und close nötig, weil dies schon in der main passiert und mit *file übergeben wird//
if (!file)
if (file == NULL)
{
perror("Error invalid pointer to file");
return -1;