摘要: 1. 将一组字符串按字典顺序输出。(通过函数调用完成) #include <stdio.h> #include <string.h> //进行值得交换 void swap(char c[],int length) { int i,j; char temp; for( i=0 ; i<length-1 阅读全文
posted @ 2016-08-13 19:27 ninghai 阅读(3156) 评论(0) 推荐(0) 编辑
摘要: 内容:请写一个程序,用字典顺序列出n个元素的所有排列 阅读全文
posted @ 2016-08-13 18:53 ninghai 阅读(363) 评论(0) 推荐(0) 编辑
摘要: hello aglo! 阅读全文
posted @ 2016-08-13 18:51 ninghai 阅读(99) 评论(0) 推荐(0) 编辑