This commit is contained in:
Vadym Afanasiev 2026-03-12 15:06:38 +00:00
parent 848768b401
commit a6a8b725d2

View File

@ -79,8 +79,8 @@ databaza[index].votes = databaza[index].votes + znak;
}
if (rozmer == 0)
{
printf("Chyba: Ziadne platne zaznamty.\n");
return 1;
printf("Nepodarilo nacitat nic\n");
return 0;
}
qsort(databaza, rozmer, sizeof(struct student), funkcia_compare);
printf("Vysledky:\n");