From 8bf2d9a6073ff41538d40bc78e0f6df4e484e6b5 Mon Sep 17 00:00:00 2001 From: KaffeeMaus Date: Fri, 26 Jan 2024 11:35:14 +0100 Subject: [PATCH] added a user input in the menu --- src/main/c/Georg/tictactoe.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/c/Georg/tictactoe.c b/src/main/c/Georg/tictactoe.c index 42df92f..d01ae9f 100644 --- a/src/main/c/Georg/tictactoe.c +++ b/src/main/c/Georg/tictactoe.c @@ -68,6 +68,11 @@ int startMenu( int code ){ return 1; } + printf("Welcome to the menu!\n"); + char userInput[50]; + printf( ":" ); + scanf( "%s", userInput ); + return 0; }