
void insert(char *items, int count) ...{
register int a, b;
char t;

for(a=1; a < count; ++a) ...{
t = items[a];
for(b=a-1; (b >= 0) && (t < items[b]); b--)
items[b+1] = items[b];
items[b+1] = t;
}
}
字符排序

void insert(char *items, int count) ...{
register int a, b;
char t;

for(a=1; a < count; ++a) ...{
t = items[a];
for(b=a-1; (b >= 0) && (t < items[b]); b--)
items[b+1] = items[b];
items[b+1] = t;
}
}

被折叠的 条评论
为什么被折叠?