struct student namiesto studenti (nedava zmysel)
This commit is contained in:
parent
15eaa14bfd
commit
3e4f77dd18
@ -53,7 +53,7 @@ int main() {
|
|||||||
}
|
}
|
||||||
//zoradit abecedne, potom zoradit mena podla poctov hlasov, poposuvat cisla hore
|
//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
|
//vystup vo formate printf("Vysledky:\n"); for i=0 to pocet_studentov
|
||||||
//printf("%d %s\n"student[i].votes, student[i].name[i]);
|
//printf("%d %s\n"student[i].votes, student[i].name[i]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user