struct student namiesto studenti (nedava zmysel)

This commit is contained in:
Kamil Gejdoš 2026-03-11 12:56:34 +00:00
parent 15eaa14bfd
commit 3e4f77dd18

View File

@ -53,7 +53,7 @@ int main() {
}
//zoradit abecedne, potom zoradit mena podla poctov hlasov, poposuvat cisla hore
qsort(studenti, velkost_zoznamu, sizeof (struct studenti), compare);
qsort(studenti, velkost_zoznamu, sizeof (struct student), compare);
//vystup vo formate printf("Vysledky:\n"); for i=0 to pocet_studentov
//printf("%d %s\n"student[i].votes, student[i].name[i]);