文件名称:tailx
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个c语言程序,该程序产生的可执行文件名为tailx,模仿linux的tail命令,比如:当执行:tailx -4 XXX(XXX为某文本文件)时,将打印该文本文件最后4行。如打印的文本行数超过文本内容,则打印全部文本;如参数个数不对,则报错;如果命令所指定的文件名XXX不存在,则报错。-Write a c language program, the program generates an executable file named tailx, mimic the linux tail command, for example: When running: tailx-4 XXX (XXX is a text file), it will print the last four lines of text file. Such as the number of lines of text printed over text, you print all text such as the number of parameters is incorrect, an error if the command specified by the file name XXX does not exist, an error.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tailx.c
文件操作.ppt
文件操作.ppt