From f72b7e3a3d58a0dfd92d394cfd62bd62c562fd15 Mon Sep 17 00:00:00 2001 From: fdai7731 Date: Thu, 8 Feb 2024 02:09:09 +0100 Subject: [PATCH] function initialisiereZufallsgenerator --- src/main/c/Mathe.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/c/Mathe.c b/src/main/c/Mathe.c index 2ad5bf3..87183e0 100644 --- a/src/main/c/Mathe.c +++ b/src/main/c/Mathe.c @@ -43,7 +43,10 @@ void zeigeRundenEnde(int punkte); //16 void zeigeAuswahl(const char* text); - +//17 +void initialisiereZufallsgenerator() { + srand(time(NULL)); +}