摘要: #include <stdio.h>#include <stdlib.h>void point(char *pt);void point2(char *pt);void point3(char **pt);int main() { char b[4] = { 'a', 'c', 's', 'f' }; char *pt = b; point(pt); printf("%c\n", *pt); point2(pt); printf("%c\n", *pt); pt=b; 阅读全文
posted @ 2013-03-18 22:13 cart55free99 阅读(457) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #define CH "%c" #define DG "%d" //求最长的回文字串 判断回文不算符号 //但是最后输出的时候需要计算符号 //样例输入 //She say:Madam,I'm Adam. //样例输出 //Madam,I'm Adam int isHui(char str[],int start, int endi); int isLetter(char ch); in 阅读全文
posted @ 2013-03-18 15:27 cart55free99 阅读(271) 评论(0) 推荐(0) 编辑