simon #2

Merged
wiesendsi102436 merged 2 commits from simon into main 2025-10-31 07:20:05 +00:00
Showing only changes of commit 1098b0f8c0 - Show all commits

View File

@ -13,6 +13,9 @@
// 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)
{
// set seed for random number generator
srand(time(NULL));
int r, c;
//Gesamtes Feld auf 0 setzen