Изменить 'du5/program.c'
This commit is contained in:
		
							parent
							
								
									1379e394cb
								
							
						
					
					
						commit
						7a2b50c8e2
					
				| @ -81,15 +81,15 @@ void Sort_Struct(struct LIS *list,int count){//bubble sort :) | ||||
|                     }   | ||||
|                 } | ||||
|             } | ||||
|             if(list[i].num==list[j].num && list[i].sname==list[j].sname){ | ||||
|                 for(int l=0;l<strlen(list[i].fname);l++){ | ||||
|                     if(list[i].fname<list[j].fname){ | ||||
|                         ilusion=list[i]; | ||||
|                         list[i]=list[j]; | ||||
|                         list[j]=ilusion; | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
| //            if(list[i].num==list[j].num && list[i].sname==list[j].sname){
 | ||||
| //                for(int l=0;l<strlen(list[i].fname);l++){
 | ||||
| //                    if(list[i].fname<list[j].fname){
 | ||||
| //                        ilusion=list[i];
 | ||||
| //                        list[i]=list[j];
 | ||||
| //                        list[j]=ilusion;
 | ||||
| //                    }
 | ||||
| //                }
 | ||||
| //            }
 | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user