Compare commits

...
6 Commits
Author SHA1 Message Date
kritschjo100676 0fce4964f6 Merge remote-tracking branch 'origin/main' 2025-10-21 14:42:25 +02:00
kritschjo100676 c0ae7c0c83 hui 2025-10-21 14:39:59 +02:00
schuetzma100601 24a4f09e0a test 2025-10-21 14:34:58 +02:00
schuetzma100601 97e8f5a7b7 jj 2025-10-21 14:17:26 +02:00
schuetzma100601 0eb7c16a12 jj 2025-10-21 14:14:52 +02:00
schuetzma100601 8aafbcae0e jj 2025-10-21 14:12:55 +02:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
// Creates the word salad by placing words randomly and filling empty spaces // Creates the word salad by placing words randomly and filling empty spaces
int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int searchFieldLen, const char words[][MAX_WORD_LEN], unsigned int wordCount) int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int searchFieldLen, const char words[][MAX_WORD_LEN], unsigned int wordCount)
{ {
//hihui
} }
// Prints the word salad to console // Prints the word salad to console
+1 -1
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);