forked from freudenreichan/info2Praktikum-Wortsalat
Änderung der Wörter in Großbuchstaben
This commit is contained in:
1 parent
5bd71ca48d
commit
4459715ea1
1 file changed
+8
@@ -28,5 +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 j = 0; j < MAX_WORD_LEN; j++)
|
||||||
|
{
|
||||||
|
words[i][j] = toupper(words[i][j]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user