Изменить 'du6/program.c'
This commit is contained in:
parent
b1b107fb81
commit
e98cdabb86
@ -73,6 +73,11 @@ void sort(struct LIS* list,int count){
|
||||
min=list[j].fname;
|
||||
mini=j;
|
||||
}
|
||||
if(strcmp(min,list[j].fname)==0 && strcmp(list[mini].fname,list[j].fname)>0){
|
||||
ilusion=list[i];
|
||||
list[i]=list[mini];
|
||||
list[mini]=ilusion;
|
||||
}
|
||||
}
|
||||
ilusion=list[i];
|
||||
list[i]=list[mini];
|
||||
@ -111,17 +116,3 @@ void print(struct LIS *list,int count,int places){
|
||||
puts("Ziadne prihlasky");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user