根據用戶輸入的命令行選項的不同,來實現三種功能: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