摘要: #include <stdio.h>#include <stdlib.h>#include <string.h>void strsrt(char *str[], int num){ char *temp; int top, seek; for (top = 0; top < num - 1; top++) { for (seek = top + 1; seek < num; seek++) { if (strcmp(str[top], str[seek]) > 0) { //switch... 阅读全文
posted @ 2012-03-01 22:46 xiangzi888 阅读(413) 评论(0) 推荐(0) 编辑