摘要:
/* 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) { //显示... 阅读全文