Implement word reading and uppercase conversion
This commit is contained in:
1 parent
dba181deb1
commit
75984eb117
1 file changed
+1
@@ -28,6 +28,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||
}
|
||||
} else if (letterCount < MAX_WORD_LEN -1 ) {
|
||||
words[wordCount] [letterCount] = (char)toupper (character);// to uppercase
|
||||
letterCount++;
|
||||
}
|
||||
}
|
||||
// letzes wort speicher, auch ohne trennzeichen am datei ende
|
||||
|
||||
Reference in new issue
Block a user