submit3
This commit is contained in:
parent
b497c87026
commit
c79bbf5d0b
@ -18,6 +18,7 @@ int main()
|
|||||||
}
|
}
|
||||||
int element_size=SIZE+sizeof(int);
|
int element_size=SIZE+sizeof(int);
|
||||||
qsort((void *)databaza, size,element_size,compar);
|
qsort((void *)databaza, size,element_size,compar);
|
||||||
|
printf("Vysledky:\n");
|
||||||
for(int i=0; i<size; i++){
|
for(int i=0; i<size; i++){
|
||||||
printf("%d %s\n",databaza[i].score,databaza[i].name);
|
printf("%d %s\n",databaza[i].score,databaza[i].name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user