Aktualizovat a3/program.c

This commit is contained in:
Tomáš Vlček 2026-03-30 11:57:04 +00:00
parent cbaca8a22f
commit fa4f2c4df8

View File

@ -4,7 +4,7 @@
#include <string.h>
#define BUFFER_SIZE 64
#define STUDENT_SIZE 32
#define STUDENT_SIZE 64
struct studentApplication
{
@ -66,6 +66,11 @@ int main()
strcpy(student[i].surname, processedSurname);
i++;
}
else if(sscanf(line, " %s", processedName) == 1)
{
strcpy(student[i].name, processedName);
i++;
}
}
if (studentsAmount == 0)