根据用户输入的命令行选项的不同,来实现三种功能:argc为2时,命令格式为 myfind <pathname> 它要统计出,在常规文件中,文件长度不大于4096字节的常规文件,在所有允许访问的普通文件中所占的百分比。不允许打印出任何路径名。 argc为4且argv[2] == “-Comp”时,命令格式为 myfind <pathname> -Comp <filename> 输出在<pathname>目录子树之下,所有与<filename>文件内容一致的文件的绝对路径名。不允许输出任何其它的路径名,包括不可访问的路径名。当参数pathname不是绝对路径时,调用getcwd()等函数来取得文件的绝对路径名。 argc 大于等于4且argv[2] == “-name”时,命令格式为myfind <pathname> -name <str>…<str>…是一个以空格分隔的文件名序列(不带目录)。命令输出<pathname>目录子树之下,所有与<str>…序列中文件名相同的文件的绝对路径名。不允许输出不可访问的或无关的路径名。
上传时间: 2014-11-30
上传用户:jichenxi0730
Analog Device ARM-7 系列之 ADuC_7024 Evaluation Board 内多个学习范例全都是基于 Keil 工程版的 范例,附 ADuC_7024 Evaluation Board 原理图,而范例内容如下: 1.ADC 2.Comp 3.DAC 4.FlashEE 5.FuncRam 6.INT 7.Mics 8.PLA 9.Pulse 10.PWM 11.S&C 12.TimerTrig 13.UART 14.Varplace
标签: ADuC 7024 Evaluation Evaluati
上传时间: 2016-01-01
上传用户:lo25643
MIRACL Compiler/hardware definitions - mirdef.h This version suitable for use with most 32-bit Computers
标签: definitions Compiler hardware suitable
上传时间: 2014-11-23
上传用户:sdq_123
(1)myfind <pathname> 的功能: 除了具有与程序4-7相同的功能外,还要输出在<pathname>目录子树之下,文件长度不大于4096字节的常规文件,在所有允许访问的普通文件中所占的百分比。程序不允许打印出任何路径名。 (2)myfind <pathname> -Comp <filename>的功能: <filename>是常规文件的路径名(非目录名,但是其路径可以包含目录)。命令仅仅输出在<pathname>目录子树之下,所有与<filename>文件内容一致的文件的绝对路径名。不允许输出任何其它的路径名,包括不可访问的路径名。 (3)myfind <pathname> -name <str>…的功能: <str>…是一个以空格分隔的文件名序列(不带路径)。命令输出在<pathname>目录子树之下,所有与<str>…序列中文件名相同的文件的绝对路径名。不允许输出不可访问的或无关的路径名。 <pathname>和<filename>均既可以是绝对路径名,也可以是相对路径名。<pathname>既可以是目录,也可以是文件,此时,目录为当前工作目录。
上传时间: 2014-01-26
上传用户:aappkkee
Samples are artificially generated and in no way represent particular individuals. Human names, Company names, colleges, software product names are intentionally made up.
标签: artificially individuals particular generated
上传时间: 2016-04-13
上传用户:无聊来刷下
The second volume in the Write Great Code series supplies the critical information that today s Computer science students don t often get from college and university courses: How to carefully choose their high-level language statements to produce efficient code. Write Great Code, Volume 2: Thinking Low-Level, Writing High-Level, teaches software engineers how Compilers translate high-level language statements and data structures into machine code. Armed with this knowledge, a software engineer can make an informed choice concerning the use of those high-level structures to help the Compiler produce far better machine code--all without having to give up the productivity and portability benefits of using a high-level language
标签: information the critical supplies
上传时间: 2014-02-21
上传用户:luke5347
采用3D Bresenham算法在两点间划一直线 % This program is ported to MATLAB from: % B.Pendleton. line3d - 3D Bresenham s (a 3D line drawing algorithm) % ftp://ftp.isc.org/pub/usenet/Comp.sources.unix/volume26/line3d, 1992 % % Which is referenced by: % Fischer, J., A. del Rio (2004). A Fast Method for Applying Rigid % Transformations to Volume Data, WSCG2004 Conference. % http://wscg.zcu.cz/wscg2004/Papers_2004_Short/M19.pdf
标签: Bresenham Pendleton program MATLAB
上传时间: 2013-12-10
上传用户:sz_hjbf
A novel met hod t o p artially Compensate sigma2delta shap ed noise is p rop osed. By injecting t he Comp en2 sation cur rent int o t he p assive loop f ilte r during t he delay time of t he p hase f requency detect or ( PFD) , a maximum reduction of t he p hase noise by about 16dB can be achieved. Comp a red t o ot he r Compensation met hods , t he tech2 nique p rop osed he re is relatively simple and easy t o implement . Key building blocks f or realizing t he noise cancel2 lation , including t he delay va riable PFD and Comp ensation cur rent source , a re sp ecially designed. Bot h t he behavior level and circuit level simulation results a re p resented.
标签: sigma2delta Compensate injecting artially
上传时间: 2013-12-18
上传用户:qlpqlq
getip1.cpp // // This program reports the IP address for each adapter in your machine. // To Compile from command-line type: // // cl getip1.cpp wsock32.lib // // Make sure your INCLUDE and LIB environment variables are set up properly // you can run vcvars32.bat
标签: address adapter program machine
上传时间: 2014-01-05
上传用户:bibirnovis
ns2.1b5版本中cbrp碼,由http://www.Comp.nus.edu.sg/~tayyc/cbrp/可得
上传时间: 2014-07-21
上传用户:zhengzg