對c語言的簡單語法分析器 文件說明: input.txt內為輸入的源程序,包括for,while和if else控制等 output.txt內為輸出的二元單詞序列 k.txt為關鍵字表 l.txt為運算符和界符表 i.txt為該輸入的源程序的標志符 c.txt為常數表 個別表需要序列號,這時各表的序列號默認為從1開始,每行加1。 使用說明: 在提示符下輸入input.txt文件的路徑和文件名字, 運行完成后,打開文件output.txt看結果。
上傳時間: 2013-12-23
上傳用戶:pompey
Three-input Majority Voter -- The entity declaration is followed by three alternative architectures which achieve the same functionality in different ways.
標簽: architectures Three-input declaration alternative
上傳時間: 2013-12-27
上傳用戶:liansi
Sga.c 基本遺傳算法源程序, 輸入數據文件input,
上傳時間: 2015-04-27
上傳用戶:youth25
Turbo Pascal Field input Routines.
標簽: Routines Pascal Turbo Field
上傳時間: 2015-05-05
上傳用戶:miaochun888
ARM下 Implement matrix multiplication of 2 square matrices, with data read from an input file and printed both to the console and to an output file. • Assume a file with correct data (no garbage, characters, etc.). • you must check and provide appropriate execution for 2 extra cases, namely when the matrix size given is either “0” , or when the size is greater than the maximum handled of “5” . In these 2 cases you must implement the following behaviour: o If size = 0, then print a message “Size = 0 is unacceptable” and continue by reading the next size for the next 2 matrices (if not end of file). o If size >5, then print two messages: “Size is too big - unacceptable”. Then read and discard the next (size2 ) integers and continue by reading the next size for the next 2 matrices (if not end of file).
標簽: multiplication Implement matrices matrix
上傳時間: 2014-08-30
上傳用戶:dsgkjgkjg
This zip describes how two SSCs in I2S mode play and record wave files through a two-input data method. Includes main.html file for help.
標簽: describes two-input through record
上傳時間: 2013-12-23
上傳用戶:lhw888
2^x mod n = 1 acm競賽題 Give a number n, find the minimum x that satisfies 2^x mod n = 1. input One positive integer on each line, the value of n. Output If the minimum x exists, print a line with 2^x mod n = 1. Print 2^? mod n = 1 otherwise. You should replace x and n with specific numbers. Sample input 2 5 Sample Output 2^? mod 2 = 1 2^4 mod 5 = 1
標簽: mod satisfies minimum number
上傳時間: 2015-06-02
上傳用戶:qlpqlq
* * input * bin_data : binary data * bin_size : binary data length * Mode : operation mode * BASE64_NeedCRLF ---- Need a CRLF every 64 base64-character * BASE64_NotCRLF ---- Need not CRLF between 64 base64-character * * Output * char data * char data length * * Return * 0: success -1: error
標簽: binary data operation bin_data
上傳時間: 2015-06-04
上傳用戶:ZJX5201314
Routine mampres: To obtain amplitude response from h(exp(jw)). input parameters: h :n dimensioned complex array. the frequency response is stored in h(0) to h(n-1). n :the dimension of h and amp. fs :sampling frequency (Hz). iamp:If iamp=0: The Amplitude Res. amp(k)=abs(h(k)) If iamp=1: The Amplitude Res. amp(k)=20.*alog10(abs(h(k))). output parameters: amp :n dimensioned real array. the amplitude-frequency response is stored in amp(0) to amp(n-1). Note: this program will generate a data file "filename.dat" . in chapter 2
標簽: dimensione parameters amplitude response
上傳時間: 2013-12-19
上傳用戶:xfbs821
Routine mar1psd: To compute the power spectum by AR-model parameters. input parameters: ip : AR model order (integer) ep : White noise variance of model input (real) ts : Sample interval in seconds (real) a : Complex array of AR parameters a(0) to a(ip) Output parameters: psdr : Real array of power spectral density values psdi : Real work array in chapter 12
標簽: parameters AR-model Routine mar1psd
上傳時間: 2015-06-09
上傳用戶:playboys0