generated from freudenreichan/info2Praktikum-Wortsalat
Erster schnipsel
This commit is contained in:
1 parent
2a46dd9df7
commit
f5337d419f
1 file changed
+3
-1
@@ -8,5 +8,7 @@
|
||||
// Read words from file and store in 'words' array
|
||||
int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||
{
|
||||
int a;
|
||||
file = fopen("words.txt", "r"); //liest das doc ein
|
||||
if (file == NULL)
|
||||
return -1;
|
||||
}
|
||||
Reference in new issue
Block a user