Template
Compare commits
3
Commits
main
...
83de6ef49e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
83de6ef49e | ||
|
|
3c89c51854 | ||
|
|
684ed5e821 |
+1
-1
@@ -40,7 +40,7 @@ int main(int argc, char *argv[])
|
||||
// Check if all words were successfully placed
|
||||
// Start the game if successful
|
||||
// error message if some words couldn't be placed
|
||||
|
||||
printf("HAllo");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user