submit7
This commit is contained in:
parent
f83a8fcb18
commit
568798e803
@ -22,6 +22,10 @@ int main()
|
|||||||
int size = 0;
|
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)){
|
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);
|
int element_size=SIZE+sizeof(int);
|
||||||
qsort((void *)databaza, size,element_size,compar);
|
qsort((void *)databaza, size,element_size,compar);
|
||||||
printf("Vysledky:\n");
|
printf("Vysledky:\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user