From 123f8bf7ce5311eddfbd54b8740bce9d74e6e465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Mon, 30 Mar 2026 11:48:10 +0000 Subject: [PATCH] Aktualizovat a3/program.c --- a3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a3/program.c b/a3/program.c index 921bf32..fb9756e 100644 --- a/a3/program.c +++ b/a3/program.c @@ -60,7 +60,7 @@ int main() { if(sscanf(line, "%d", &studentsAmount) == 1) { continue; } } - else if(sscanf(line, "%s %s", processedName, processedSurname) == 2) + else if(sscanf(line, " %s %s", processedName, processedSurname) == 2) { strcpy(student[i].name, processedName); strcpy(student[i].surname, processedSurname);