摘要: #include "stdio.h"#define Num 100void reverse(char words[]){ int i, j, c, n=0; while(words[n]!='\0') n++; for(i=0,j=n-1;i<j;i++,j--) { c = wor... 阅读全文
posted @ 2014-10-28 23:02 司空格子Ored 阅读(195) 评论(0) 推荐(0) 编辑
摘要: #include #define MAXLINE 10int getLine(char s[], int lim);void copy(char to[], char from[]);int calcLen(char s[]);int main(){ int len, index, row; ... 阅读全文
posted @ 2014-10-28 22:30 司空格子Ored 阅读(217) 评论(0) 推荐(0) 编辑
摘要: #include #define MAXLINE 100#define MAX 8int getline(char line[],int maxline);void copy(char to[],char from[]);int main(){ int len; int max; ... 阅读全文
posted @ 2014-10-28 00:32 司空格子Ored 阅读(180) 评论(0) 推荐(0) 编辑
摘要: #include #define MAXLINE 10int getline(char line[],int maxline);void copy(char to[],char from[]);int main(){ int len; int max; char line[MAXL... 阅读全文
posted @ 2014-10-28 00:09 司空格子Ored 阅读(210) 评论(0) 推荐(0) 编辑