文件名称:Project1.c
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-10-08
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- aaro****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Write a C program (on a Unix/Linux system) that counts and displays the number of words, non-white space characters, and/or lines in a text file. The name of the input file is to be provided to the program as a command line argument. In addition, the program takes option flags to determine what actions to take. The command format is as follows:
command [-clw] inputfile
where the presence of a flag indicates the following actions:
c: display the number of characters in inputfile.
l: display the number of lines in inputfile.
w: display the number of words in inputfile.-Write a C program (on a Unix/Linux system) that counts and displays the number of words, non-white space characters, and/or lines in a text file. The name of the input file is to be provided to the program as a command line argument. In addition, the program takes option flags to determine what actions to take. The command format is as follows:
command [-clw] inputfile
where the presence of a flag indicates the following actions:
c: display the number of characters in inputfile.
l: display the number of lines in inputfile.
w: display the number of words in inputfile.
command [-clw] inputfile
where the presence of a flag indicates the following actions:
c: display the number of characters in inputfile.
l: display the number of lines in inputfile.
w: display the number of words in inputfile.-Write a C program (on a Unix/Linux system) that counts and displays the number of words, non-white space characters, and/or lines in a text file. The name of the input file is to be provided to the program as a command line argument. In addition, the program takes option flags to determine what actions to take. The command format is as follows:
command [-clw] inputfile
where the presence of a flag indicates the following actions:
c: display the number of characters in inputfile.
l: display the number of lines in inputfile.
w: display the number of words in inputfile.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Project1.c