From f911981511c6ab8c9c962f161af8cb69368b75cf Mon Sep 17 00:00:00 2001 From: fdai7731 Date: Thu, 8 Feb 2024 02:25:52 +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 38dbf05..3936007 100644 --- a/src/main/c/Mathe.c +++ b/src/main/c/Mathe.c @@ -45,7 +45,10 @@ void zeigeRundenEnde(int punkte); //16 void zeigeAuswahl(const char* text); - +//17 +void initialisiereZufallsgenerator() { + srand(time(NULL)); +}