Pointer auf Textdokument erzeugt

This commit is contained in:
Bastian 2025-10-22 15:07:46 +02:00
parent 684ed5e821
commit 3c89c51854

View File

@ -8,5 +8,11 @@
// Read words from file and store in 'words' array
int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
{
//Erstellt Pointer auf textdokument
FILE *textdokument = fopen("words.txt", "r");
if (file == NULL) {
printf("words,txt konnte nicht geoffnet werden");
}
// ToDo 2D char Array um wörter zu speichern
}