This commit is contained in:
kr820js 2024-03-16 20:13:04 +01:00
parent da7db7cb81
commit b497c87026

View File

@ -19,7 +19,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);
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);
} }
return 0; return 0;