From 3253e08a25d34e1fc7586e2410fd94d41ced5689 Mon Sep 17 00:00:00 2001 From: fdai7225 Date: Wed, 25 Jan 2023 10:29:41 +0100 Subject: [PATCH] =?UTF-8?q?=C3=84nderung=20zur=20Entwicklung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Umgebung.c | 50 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/src/Umgebung.c b/src/Umgebung.c index 2cc66ed..758492d 100644 --- a/src/Umgebung.c +++ b/src/Umgebung.c @@ -1,22 +1,32 @@ #define _CRT_SECURE_NO_WARNINGS #define re return -#define N 40 +#define N 20 #include #include #include #include #include - +void Apfel(int realU[N][N]); void Umgebung(char str[N][N]); void delay(int ms); int main(){ srand(time(0)); char str[N][N]; + for (int i=0;i