要求设计一个c语言程序,完成以下要求,为什么我设计的总是不对?请大神帮我设计一个,谢了!

日期:2013-12-10 15:00:33 人气:1

要求设计一个c语言程序,完成以下要求,为什么我设计的总是不对?请大神帮我设计一个,谢了!

建议温习C基础... 冒泡排序详见百科 http://baike.baidu.com/view/254413.htm #include #include #include #define MAX_STR_SIZE 32int str_bubble_sort(char str[][MAX_STR_SIZE],int str_num){ int i; int j; char tmp[MAX_STR_SIZE]; for(i=0;ii;j--) { if(strcmp(st
    A+
热门评论