#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") }}
標簽: void derivata include printf
上傳時間: 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.
標簽: block-oriented application developing describes
上傳時間: 2015-07-07
上傳用戶:kelimu
本書第二部分講述的是在Wi n 3 2平臺上的Wi n s o c k編程。對于眾多的基層網(wǎng)絡協(xié)議, Wi n s o c k是訪問它們的首選接口。而且在每個Wi n 3 2平臺上,Wi n s o c k都以不同的形式存在著。 Wi n s o c k是網(wǎng)絡編程接口,而不是協(xié)議。它從U n i x平臺的B e r k e l e y(B S D)套接字方案借鑒了 許多東西,后者能訪問多種網(wǎng)絡協(xié)議。在Wi n 3 2環(huán)境中,Wi n s o c k接口最終成為一個真正的 “與協(xié)議無關”接口,尤其是在Winsock 2發(fā)布之后。
標簽: 分 編程 網(wǎng)絡協(xié)議
上傳時間: 2015-07-08
上傳用戶:thinode
本章專門講解編寫成功網(wǎng)絡應用程序時所需的基本知識和A P I調用。通過上一章的學習, 大家已知道從Wi n s o c k地址機和這些機器上的服務,可以很容易地訪問協(xié)議。在這一章里, 我們打算討論如何從網(wǎng)絡上的一臺機器到另一臺機器建立連接,以及如何收發(fā)數(shù)據(jù)
標簽: 編寫 程序 基本知識 網(wǎng)絡應用
上傳時間: 2015-07-08
上傳用戶:gtf1207
Winsock 2服務提供者接口( Service Provider Interface, SPI)代表著另一端的Wi n s o c k編 程(和Winsock 2API相對應)。Wi n s o c k的一端是A P I,另一端則是S P I。
標簽: Winsock Interface Provider Service
上傳時間: 2015-07-08
上傳用戶:yoleeson
針對特定微處理器而開發(fā)的程式,其功能是控制基本的I/O,使之有時鐘的功能
標簽: 程式
上傳時間: 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.
標簽: symbols length Hard-decision Codeword
上傳時間: 2014-07-08
上傳用戶:曹云鵬
鄰接矩陣類的根是A d j a c e n c y W D i g r a p h,因此從這個類開始。程序1 2 - 1給出了類的描述。程 序中,先用程序1 - 1 3中函數(shù)Make2DArray 為二組數(shù)組a 分配空間,然后對數(shù)組a 初始化,以描述 一個n 頂點、沒有邊的圖的鄰接矩陣,其復雜性為( n2 )。該代碼沒有捕獲可能由M a k e 2 D A r r a y 引發(fā)的異常。在析構函數(shù)中調用了程序1 - 1 4中的二維數(shù)組釋放函數(shù)D e l e t e 2 D
標簽: 矩陣
上傳時間: 2013-12-21
上傳用戶:lanjisu111
代入法的啟發(fā)示搜索 我的代碼實現(xiàn)是:按照自然語言各字母出現(xiàn)頻率的大小從高到低(已經(jīng)有人作國統(tǒng)計分析了)先生成一張字母出現(xiàn)頻率統(tǒng)計表(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) ,再對密文字母計算頻率,并按頻率從高到低生成一張輸入密文字母的統(tǒng)計表(B),通過兩張表的對應關系,不斷用A中的字母去替換B中的字母,搜索不成功時就回退,在這里回朔是一個關鍵。
上傳時間: 2015-10-24
上傳用戶:wanqunsheng
“網(wǎng)絡基本輸入/輸出系統(tǒng)”(Network Basic Input/Output System, NetBIOS)是一種標準的應用程序編程接口( A P I),1 9 8 3年由S y t e k公司專為I B M開發(fā)成功)
標簽: Network NetBIOS Output System
上傳時間: 2015-12-09
上傳用戶:wanghui2438