Eingabefunktion fertig

This commit is contained in:
Bannach 2025-10-28 17:26:55 +01:00
parent eff6841a29
commit 6d80d1682a
4 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,10 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
{ {
for (int i = 0; i < 1024; i++) for (int i = 0; i < 1024; i++)
{ {
if (zeile[i] >= 'a'&&zeile[i] <= 'z')
{
zeile[i]=zeile[i]-32;
}
if (zeile[i] == '\n') if (zeile[i] == '\n')
{ {
zeile[i] = '\0'; zeile[i] = '\0';

Binary file not shown.

Binary file not shown.