This commit is contained in:
Helena Köhler
2025-11-04 19:01:22 +01:00
parent 0d192b71fd
commit f9da187cb2
3 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
//Speichere das Wort im Array, falls es nicht leer ist
if (len > 0){
//Wandel das Wort in Großbuchstaben um
for (size_t = 0; i < len; i++ ){
for (size_t i = 0; i < len; i++ ){
token[i] = toupper ((unsigned char)token[i]);
}
strncpy(words[word_count], token, MAX_WORD_LEN -1);
Binary file not shown.