From 2368d5aa38ae48dc8196b2d6404eb8153d4b82d6 Mon Sep 17 00:00:00 2001 From: Vorname Nachname Date: Wed, 28 Oct 2026 16:25:06 +0100 Subject: [PATCH] added time.h --- Startcode/game.c | 1 + Startcode/main.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Startcode/game.c b/Startcode/game.c index f55b805..604eeaf 100644 --- a/Startcode/game.c +++ b/Startcode/game.c @@ -2,6 +2,7 @@ #include #include #include +#include #define MAX_RAND_TRIES_PER_WORD 10 #define EMPTY_CHAR 0 diff --git a/Startcode/main.c b/Startcode/main.c index 065b5a4..7c69be8 100644 --- a/Startcode/main.c +++ b/Startcode/main.c @@ -1,5 +1,6 @@ #include #include +#include #include "input.h" #include "game.h" #include "graphicalGame.h" @@ -12,7 +13,7 @@ int main(int argc, char *argv[]) int exitCode = EXIT_SUCCESS; srand(time(NULL)); //Seed für Zufallszahlen - + // Check if the correct number of arguments is provided if(argc != 2) {