generated from freudenreichan/info2Praktikum-Wortsalat
Makefile angepasst + srand bei gamec eingefügt
This commit is contained in:
1 parent
aef9467e3d
commit
da621b8429
2 files changed
+11
No files matched your search
@@ -16,6 +16,8 @@ int createWordSalad(
|
||||
{
|
||||
unsigned int placedWords = 0;
|
||||
|
||||
srand((unsigned int)time(NULL));
|
||||
|
||||
// Check the dimensions
|
||||
if (searchFieldLen == 0 ||
|
||||
searchFieldLen > MAX_SEARCH_FIELD_LEN)
|
||||
|
||||
Reference in new issue
Block a user