input file updated
This commit is contained in:
parent
65461ae414
commit
c19dfd18f0
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user