Template
...
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||
// Wort kopieren und in Großbuchstaben umwandeln
|
||||
strcpy(words[wordCount], token);
|
||||
for (int i = 0; words[wordCount][i] != '\0'; i++) {
|
||||
words[wordCount][i] = toupper((unsigned char)words[wordCount][i]);
|
||||
words[wordCount][i] = toupper((unsigned char) words[wordCount][i]);
|
||||
}
|
||||
wordCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user