4
This commit is contained in:
parent
848768b401
commit
a6a8b725d2
@ -79,8 +79,8 @@ databaza[index].votes = databaza[index].votes + znak;
|
|||||||
}
|
}
|
||||||
if (rozmer == 0)
|
if (rozmer == 0)
|
||||||
{
|
{
|
||||||
printf("Chyba: Ziadne platne zaznamty.\n");
|
printf("Nepodarilo nacitat nic\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
qsort(databaza, rozmer, sizeof(struct student), funkcia_compare);
|
qsort(databaza, rozmer, sizeof(struct student), funkcia_compare);
|
||||||
printf("Vysledky:\n");
|
printf("Vysledky:\n");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user