This commit is contained in:
maxgrf 2025-11-06 15:59:21 +01:00
parent c26a55f965
commit 9e172b664f
3 changed files with 4 additions and 3 deletions

View File

@ -20,11 +20,12 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
while(word_parts != NULL && counter < maxWordCount)
{
for(i = 0; i < MAX_WORD_LEN -1; i++)
for(i = 0; i < MAX_WORD_LEN -1; i++) //MAX = 100
{
words[counter][i] = toupper(word_parts[i]); //Großbuchstaben erzeugen
puts("?????????????????");
if(word_parts[i] == '\0')
printf("%c", word_parts[i+1]);
if(word_parts[i+1] == '\0')
break;
}

Binary file not shown.

Binary file not shown.