This commit is contained in:
maxgrf 2025-11-06 16:17:55 +01:00
parent b34074233d
commit f47f3aef7c
3 changed files with 2 additions and 2 deletions

View File

@ -24,11 +24,11 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
{
words[counter][i] = toupper(word_parts[i]); //Großbuchstaben erzeugen
puts("?????????????????");
printf("%c", word_parts[i+1]);
words[counter][i] = '\0'; //Stringdefinition vervollständigen
puts(word_parts[i]);
if(word_parts[i+1] == '\0')
break;
}
words[counter][i] = '\0'; //Stringdefinition vervollständigen
counter++; // Wort eingelesen, Wortzähler erhöhen
word_parts = strtok(NULL, ",;\n\t/. "); //NULL für Zeiger angeben

Binary file not shown.

Binary file not shown.