From 27547d0f2ca7b79e2546530a2cd377c2c0ba8090 Mon Sep 17 00:00:00 2001 From: fdai7731 Date: Wed, 7 Feb 2024 23:09:56 +0100 Subject: [PATCH] Declaration for Random Generator --- src/main/c/Mathe.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/c/Mathe.c b/src/main/c/Mathe.c index a1ab708..ced2432 100644 --- a/src/main/c/Mathe.c +++ b/src/main/c/Mathe.c @@ -62,3 +62,8 @@ void zeigeRundenEnde(int punkte); //16 void zeigeAuswahl(const char* text); + + +//17 +void initialisiereZufallsgenerator() { + srand(time(NULL));