摘要: /* more01.c - version0.1 of more * read and print 24 lines then pause for a few special commands */#include<stdio.h>#include<stdlib.h>#define PAGELEN 24#define LINELEN 512void do_more(FILE*);int see_more();int main(int ac, char *av[]){ FILE *fp;//定义一个FIEL指针 if(ac==1) { //显示... 阅读全文
posted @ 2012-12-06 10:08 布兰姥爷 阅读(643) 评论(0) 推荐(1) 编辑