From c19dfd18f058c780de31a76e3f00fa3882943d29 Mon Sep 17 00:00:00 2001 From: Jonas Date: Mon, 27 Oct 2025 14:43:00 +0100 Subject: [PATCH] input file updated --- I2_Wortsalat/Start_Mac/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/I2_Wortsalat/Start_Mac/input.c b/I2_Wortsalat/Start_Mac/input.c index 1bfbe7c..5b55c5f 100644 --- a/I2_Wortsalat/Start_Mac/input.c +++ b/I2_Wortsalat/Start_Mac/input.c @@ -14,7 +14,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) while (fgets(lines, sizeof(lines) , file) != NULL) { - for (int i = 0; lines[i] != '\0'; i++) //Entfernen von \n aus dem String + for (int i = 0; lines[i] != '\0'; i++) { lines[i] = toupper(lines[i]); if (lines[i] == '\n')