Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4078 | leency | 1 | void Sort_by_Name(int a, b) |
2 | { |
||
3 | int j, i = a; |
||
4 | if (a >= b) return; |
||
5 | for (j = a; j <= b; j++) |
||
6 | if (strcmp(files_mas[j]*304 + buf+72, files_mas[b]*304 + buf+72)<=0) { files_mas[i] >< files_mas[j]; i++;} |
||
7 | Sort_by_Name(a, i-2); |
||
8 | Sort_by_Name(i, b); |
||
9 | }>=0)>=> |