From d51a02bb9797680716e2acc1ad4e5c553acf6ea9 Mon Sep 17 00:00:00 2001 From: fdai7225 Date: Mon, 6 Feb 2023 17:40:42 +0100 Subject: [PATCH] void zu int zum Test --- src/Umgebung.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Umgebung.c b/src/Umgebung.c index 844b122..9e0553f 100644 --- a/src/Umgebung.c +++ b/src/Umgebung.c @@ -12,7 +12,7 @@ void ASCI();//Bellow you can find the function ASCI with which we designed the b int score = 0; void Anweisung(char s[N]); void Anweisung1(); -void RealU(int realU1[N][N]); +int RealU(int realU1[N][N]); void Score(int score); void Apfel(int realU[N][N]); void Umgebung(int str[N][N]); @@ -63,10 +63,11 @@ void Anweisung1(){ -void RealU(int realU1[N][N]){ +int RealU(int realU1[N][N]){ + int i,j; // für eine Schlange - for (int i=0;i