Description: Depending on the command-line options entered by the user, three functions are implemented: argc is 2 and the command format is
Myfind & lt; Pathname>
It is to calculate that in a regular file, the file length is not greater than 4096 bytes of regular files, as a percentage of all common files that are allowed to be accessed. No path name is allowed to be printed.
Argc is 4 and argv[2] == "-comp" when the command format is
Myfind & lt; Pathname> - comp & lt; Filename>
Output in & lt; Pathname> Under the directory subtree, all with < Filename> The absolute pathname of a file whose contents are consistent. No other path name is allowed, including inaccessible path names. When parameter pathname is not an absolute path, call the getcwd() function to get the absolute pathname of the file.
When argc is greater than or equal to 4 and argv[2] == "-name", the command format is myfind < Pathname> - the name & lt; Str> ... & lt; Str> ... Is a space separated list of filenames (without directories). Command output < Pathname> Under the directory subtree, all with < Str> ... The absolute pathname of a file with the same file name in the sequence. Does not allow the output of unaccessible or unrelated path names.
To Search:
- [20051126123950859] - C language, that the use of ARGC. ARGC c
- [wzq-c++] - Using Visual C++ Gobang written procedur
- [CONV] - Convolution & associated VC program, rel
- [cfun] - A better c function E-book, very easy ac
- [ckgl] - Very good warehouse management source co
- [root-tree] - err
File list (Check if you may need any files):