From 2e3c118fec238cb56c60dd7808921f19d78d9bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Mon, 30 Mar 2026 07:46:49 +0000 Subject: [PATCH] Aktualizovat a3/program.c --- a3/program.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/a3/program.c b/a3/program.c index a3b1f6f..38ff74b 100644 --- a/a3/program.c +++ b/a3/program.c @@ -3,8 +3,8 @@ #include #include -#DEFINE BUFFER_SIZE 64; -#DEFINE STUDENT_SIZE 32; +#define BUFFER_SIZE 64; +#define STUDENT_SIZE 32; struct studentApplication { @@ -19,6 +19,8 @@ int main() int i = 0; char processedName[BUFFER_SIZE]; char newLineSymbol = '\n'; + char line[SIZE]; + memset(line,0, sizeof(line)); setMemoryOfArrays(processedName, student);