From c655a092fc2146d62c2e18d8b157737ada97dbb1 Mon Sep 17 00:00:00 2001 From: fdai7727 Date: Thu, 25 Jan 2024 19:55:10 +0100 Subject: [PATCH] =?UTF-8?q?Erweiterung=20der=20Funktion=20letterGuessed(),?= =?UTF-8?q?=20sodass=20Gro=C3=9F-=20und=20Kleinschreibung=20registriert=20?= =?UTF-8?q?wird?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/c/Tim/hangman.c | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/src/main/c/Tim/hangman.c b/src/main/c/Tim/hangman.c index 43949e9..951e977 100644 --- a/src/main/c/Tim/hangman.c +++ b/src/main/c/Tim/hangman.c @@ -4,6 +4,7 @@ #include #include #include +#include #define LISTSIZE 10 #define MAX_WORD_LENGTH 30 @@ -90,11 +91,38 @@ bool letterGuessed(char x, char y[], int length, char ptr[]) { int counter = 0; for(int i = 0; i0) {