From 523c2edf4189716e13a7ecc1359463a47dc8d5a5 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 1fd9c3b..2acfa1b 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)); +}