diff --git a/du5/program.c b/du5/program.c index b1b7ce9..e5b74d8 100644 --- a/du5/program.c +++ b/du5/program.c @@ -70,20 +70,28 @@ void Sort_Struct(struct LIS *list,int count){//bubble sort :) } } } - if(list[i].num==list[j].num && list[i].sname==list[j].sname){ + if(trcmp(list[i].num,list[j].num)==0 && strcmp(list[i].sname,list[j].sname)==0 ){ for(int l=0;l