对字符串进行排序,字符串“Bc”,“Ad”,“aC”,“Hello”,“Xman”,“little”,“During”,“day” 排序成 “Ad”,"aC",“Bc”,“During”,“day”,“Hello”,“little”,“Xman”,#include #include #define MAX_LETTER 52typedef struct tire{ struct tire *next[MAX_LETTER]; char date; int cnt;}*_tire;void init_tire(_tire root, char *string){ _tire s; s=root; int pos; while(*string!='\0') {阅读全文>
发表于 @ 2008年12月01日 16:27:00|评论(loading...)|编辑|举报|收藏