This commit is contained in:
kr820js 2024-03-16 20:58:58 +01:00
parent f83a8fcb18
commit 568798e803

View File

@ -22,6 +22,10 @@ int main()
int size = 0;
while(loading_the_entire_line_from_standard_input_into_the_helper_field_and_verify_that_i_have_loaded_it_correctly(databaza,&size)){
}
if(size==0){
printf("Nepodarilo nacitat nic\n");
return 0;
}
int element_size=SIZE+sizeof(int);
qsort((void *)databaza, size,element_size,compar);
printf("Vysledky:\n");