forked from freudenreichan/info2Praktikum-Wortsalat
test Großbuchstaben
This commit is contained in:
1 parent
4459715ea1
commit
18eef548c8
2 files changed
+2
-2
No files matched your search
+2
-2
@@ -28,13 +28,13 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for(int i = 0; i < MAX_WORD_LEN; i++)
|
for(int i = 0; i < maxWordCount; i++)
|
||||||
{
|
{
|
||||||
for(int j = 0; j < MAX_WORD_LEN; j++)
|
for(int j = 0; j < MAX_WORD_LEN; j++)
|
||||||
{
|
{
|
||||||
words[i][j] = toupper(words[i][j]);
|
words[i][j] = toupper(words[i][j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
Binary file not shown.
Reference in new issue
Block a user