Seed setzen

This commit is contained in:
2025-10-27 14:08:05 +01:00
parent f001d40668
commit 5ba22a1fa8
3 changed files with 3 additions and 14 deletions
+1
View File
@@ -30,6 +30,7 @@ void fillRestWithRandom(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN],
// - wordCount -> anzahl an Wörtern
int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int searchFieldLen, const char words[][MAX_WORD_LEN], unsigned int wordCount)
{
srand(time(NULL));
int placedWords = 0;
//Feld komplettmit EMPTY_CHAR füllen