finales Programm
This commit is contained in:
1 parent
1f5b8ad0a2
commit
1c30711a9c
2 files changed
+10
-10
No files matched your search
@@ -25,7 +25,6 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||
}
|
||||
|
||||
strncpy(words[wordCount], token, MAX_WORD_LEN -1); //speichert einzelnes Wort in das gegeben word array ab und holt sich das nächste im Puffer, bis array leer token == NULL
|
||||
//words[wordCount][MAX_WORD_LEN - 1] = '\0';
|
||||
|
||||
wordCount++;
|
||||
|
||||
|
||||
Reference in new issue
Block a user