摘要: /*对于长度为7个的字符的字符串,除首、尾字符外,将其余的5个字符按ASCII 码的值升序排列。例如:原来的字符串为:BdsihAd,则排序后输出为BAdhisd.*/ #include #include #include char *fun(char *s,int num) { char t; int i,j; for(i=1;is[j]) /*比较*/ { ... 阅读全文
posted @ 2009-03-24 22:40 ThirdEye 阅读(136) 评论(0) 推荐(0) 编辑