generated from freudenreichan/info2Praktikum-Wortsalat
test7
This commit is contained in:
parent
b34074233d
commit
f47f3aef7c
@ -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.
Loading…
x
Reference in New Issue
Block a user