#include<stdio.h> void main(void) {int n,k,derivata,a[10],i printf("n=") scanf(" d",&n) for(i=0 i<=n i++) { printf("a[ d]=",i) scanf(" d",&a[i]) } printf("k=") scanf(" d",&k) for(derivata=1 derivata<=k derivata++) { for(i=0 i<=n i++) a[i]=a[i]*(n-i) n-- for(i=0 i<=n i++) printf(" d ",a[i]) printf("\n") }}
標(biāo)簽: void derivata include printf
上傳時(shí)間: 2017-09-17
上傳用戶:duoshen1989
This application note describes a method for developing block-oriented I/O device drivers for applications that use the DSP/BIOS real-time kernel and includes examples that run with Code Composer Studio v2.1 on the Texas Instruments TMS320C5402 and TMS320C6711 DSP Starter Kits (DSKs). The device driver model presented here has now been superceded with an updated version that supports not only block oriented devices, but also devices such as UARTs, PCI and USB buses and Multimedia cards. Documentation on the updated driver model as well as example drivers and source code can be found in the Device Driver Developer s Kit product now available for download from the TI Developer s Village.
標(biāo)簽: block-oriented application developing describes
上傳時(shí)間: 2015-07-07
上傳用戶:kelimu
本書第二部分講述的是在Wi n 3 2平臺(tái)上的Wi n s o c k編程。對(duì)于眾多的基層網(wǎng)絡(luò)協(xié)議, Wi n s o c k是訪問(wèn)它們的首選接口。而且在每個(gè)Wi n 3 2平臺(tái)上,Wi n s o c k都以不同的形式存在著。 Wi n s o c k是網(wǎng)絡(luò)編程接口,而不是協(xié)議。它從U n i x平臺(tái)的B e r k e l e y(B S D)套接字方案借鑒了 許多東西,后者能訪問(wèn)多種網(wǎng)絡(luò)協(xié)議。在Wi n 3 2環(huán)境中,Wi n s o c k接口最終成為一個(gè)真正的 “與協(xié)議無(wú)關(guān)”接口,尤其是在Winsock 2發(fā)布之后。
標(biāo)簽: 分 編程 網(wǎng)絡(luò)協(xié)議
上傳時(shí)間: 2015-07-08
上傳用戶:thinode
本章專門講解編寫成功網(wǎng)絡(luò)應(yīng)用程序時(shí)所需的基本知識(shí)和A P I調(diào)用。通過(guò)上一章的學(xué)習(xí), 大家已知道從Wi n s o c k地址機(jī)和這些機(jī)器上的服務(wù),可以很容易地訪問(wèn)協(xié)議。在這一章里, 我們打算討論如何從網(wǎng)絡(luò)上的一臺(tái)機(jī)器到另一臺(tái)機(jī)器建立連接,以及如何收發(fā)數(shù)據(jù)
標(biāo)簽: 編寫 程序 基本知識(shí) 網(wǎng)絡(luò)應(yīng)用
上傳時(shí)間: 2015-07-08
上傳用戶:gtf1207
Winsock 2服務(wù)提供者接口( Service Provider Interface, SPI)代表著另一端的Wi n s o c k編 程(和Winsock 2API相對(duì)應(yīng))。Wi n s o c k的一端是A P I,另一端則是S P I。
標(biāo)簽: Winsock Interface Provider Service
上傳時(shí)間: 2015-07-08
上傳用戶:yoleeson
針對(duì)特定微處理器而開發(fā)的程式,其功能是控制基本的I/O,使之有時(shí)鐘的功能
標(biāo)簽: 程式
上傳時(shí)間: 2015-09-06
上傳用戶:李彥東
Hard-decision decoding scheme Codeword length (n) : 31 symbols. Message length (k) : 19 symbols. Error correction capability (t) : 6 symbols One symbol represents 5 bit. Uses GF(2^5) with primitive polynomial p(x) = X^5 X^2 + 1 Generator polynomial, g(x) = a^15 a^21*X + a^6*X^2 + a^15*X^3 + a^25*X^4 + a^17*X^5 + a^18*X^6 + a^30*X^7 + a^20*X^8 + a^23*X^9 + a^27*X^10 + a^24*X^11 + X^12. Note: a = alpha, primitive element in GF(2^5) and a^i is root of g(x) for i = 19, 20, ..., 30. Uses Verilog description with synthesizable RTL modelling. Consists of 5 main blocks: SC (Syndrome Computation), KES (Key Equation Solver), CSEE (Chien Search and Error Evaluator), Controller and FIFO Register.
標(biāo)簽: symbols length Hard-decision Codeword
上傳時(shí)間: 2014-07-08
上傳用戶:曹云鵬
鄰接矩陣類的根是A d j a c e n c y W D i g r a p h,因此從這個(gè)類開始。程序1 2 - 1給出了類的描述。程 序中,先用程序1 - 1 3中函數(shù)Make2DArray 為二組數(shù)組a 分配空間,然后對(duì)數(shù)組a 初始化,以描述 一個(gè)n 頂點(diǎn)、沒(méi)有邊的圖的鄰接矩陣,其復(fù)雜性為( n2 )。該代碼沒(méi)有捕獲可能由M a k e 2 D A r r a y 引發(fā)的異常。在析構(gòu)函數(shù)中調(diào)用了程序1 - 1 4中的二維數(shù)組釋放函數(shù)D e l e t e 2 D
標(biāo)簽: 矩陣
上傳時(shí)間: 2013-12-21
上傳用戶:lanjisu111
代入法的啟發(fā)示搜索 我的代碼實(shí)現(xiàn)是:按照自然語(yǔ)言各字母出現(xiàn)頻率的大小從高到低(已經(jīng)有人作國(guó)統(tǒng)計(jì)分析了)先生成一張字母出現(xiàn)頻率統(tǒng)計(jì)表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z) ,再對(duì)密文字母計(jì)算頻率,并按頻率從高到低生成一張輸入密文字母的統(tǒng)計(jì)表(B),通過(guò)兩張表的對(duì)應(yīng)關(guān)系,不斷用A中的字母去替換B中的字母,搜索不成功時(shí)就回退,在這里回朔是一個(gè)關(guān)鍵。
上傳時(shí)間: 2015-10-24
上傳用戶:wanqunsheng
“網(wǎng)絡(luò)基本輸入/輸出系統(tǒng)”(Network Basic Input/Output System, NetBIOS)是一種標(biāo)準(zhǔn)的應(yīng)用程序編程接口( A P I),1 9 8 3年由S y t e k公司專為I B M開發(fā)成功)
標(biāo)簽: Network NetBIOS Output System
上傳時(shí)間: 2015-12-09
上傳用戶:wanghui2438
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1