This commit is contained in:
Maximilian Schuetz 2025-10-21 14:34:58 +02:00
parent 97e8f5a7b7
commit 24a4f09e0a

View File

@ -29,7 +29,7 @@ int main(int argc, char *argv[])
unsigned int placedWords = 0; unsigned int placedWords = 0;
char wordSalad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN]; // 2D array to store the word salad char wordSalad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN]; // 2D array to store the word salad
// Read words from file and store in 'words' array// // Read words from file and store in 'words' array//jj
wordCount = readWords(file, words, MAX_NUMBER_OF_WORDS); wordCount = readWords(file, words, MAX_NUMBER_OF_WORDS);
fclose(file); fclose(file);