2016年3月3日
摘要: 1、 反转串 我们把“cba”称为“abc”的反转串。 下面的代码可以把buf中的字符反转。其中n表示buf中待反转的串的长度。请补充缺少的代码。 #include <stdio.h> #include <string.h> #include<stdlib.h> void reverse_str(c 阅读全文
posted @ 2016-03-03 15:57 cleverbiger 阅读(364) 评论(0) 推荐(0)