funguje
This commit is contained in:
parent
587d2f4e11
commit
44e096d9bf
@ -42,7 +42,7 @@ int find_student(struct student *students, int size, const char *name) {
|
||||
return i; // Nájdený študent
|
||||
}
|
||||
}
|
||||
return -1; // Študent nenájdený
|
||||
return 1; // Študent nenájdený
|
||||
}
|
||||
int id = find_student(database, size, name);
|
||||
if (id < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user