Umlauffunktion einfügen
This commit is contained in:
parent
b8a6308821
commit
491a85debd
@ -25,13 +25,13 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||
token[i] = toupper(token[i]);
|
||||
|
||||
// Prüfen, ob das Wort nur A-Z enthält
|
||||
if (!isValidWord(token))
|
||||
/*if (!isValidWord(token))
|
||||
{
|
||||
fprintf(stderr, "Ungültiges Wort gefunden: '%s'. Nur Buchstaben A-Z erlaubt.\n", token);
|
||||
token = strtok(NULL, delimiters);
|
||||
continue; // Wort ignorieren
|
||||
}
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
// Wort ins Array kopieren
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user