《C/C++程序員實用大全》的配套代碼.涉及平臺為 VC++,作者 voID,文件大小629KB ,更新日期 2005-10-28
上傳時間: 2013-12-26
上傳用戶:cxl274287265
mp3 源代碼voID III_hufman_decode
標簽: III_hufman_decode voID mp3 源代碼
上傳時間: 2016-08-12
上傳用戶:dbs012280
voID InitGoertzel(voID) 作用:初始化算法參數(shù) 用法:采用算法進行檢測前執(zhí)行一次,如果需要改變參數(shù),調(diào)用SetParameter() float CGoertzel::GetMagnitude(unsigned char * sampleData, int length) //算法主接口 作用:對采集下來的音頻數(shù)據(jù)用算法處理,返回一個結(jié)果 參數(shù):sampleData-音頻數(shù)據(jù)緩沖地址指針; length-緩沖區(qū)尺寸(音頻數(shù)據(jù)數(shù)量),字節(jié)數(shù); 返回值:返回算法結(jié)果。 voID SetParameter(DWORD set_SampleRate, DWORD set_TargetFreq, DWORD set_BlockSize) 作用:設置算法參數(shù); 參數(shù):set_SampleRate-音頻數(shù)據(jù)抽樣速率; set_TargetFreq-目標信號頻率; set_BlockSize-算法數(shù)據(jù)塊尺寸(采樣點); 用法:調(diào)用本函數(shù)后,需要調(diào)用一次InitGoertzel(voID)才會生效
標簽: voID InitGoertzel 算法 初始化
上傳時間: 2016-09-20
上傳用戶:sssl
C8051控制DA voID OSCILLATOR_Init (voID) voID PORT_Init (voID) voID Delay (int) voID init_da (voID) voID da_conv()
標簽: voID OSCILLATOR_Init PORT_Init init_da
上傳時間: 2016-10-13
上傳用戶:libinxny
您正在看的C++Builder教程是:類似網(wǎng)絡螞蟻的懸浮窗體。 源碼: protected: virtual voID __fastcall CreateParams(TCreateParams & Param)
標簽: CreateParams protected fastcall Builder
上傳時間: 2014-01-26
上傳用戶:yd19890720
public voID playerUpdate(final Player p, final String event, final Object eventData) { // queue a call to updateEvent in the user interface event queue Display display = Display.getDisplay(midlet) display.callSerially(new Runnable() { public voID run() { DRMPlayer.this.updateEvent(p, event, eventData) } }) }
標簽: final playerUpdate eventData public
上傳時間: 2013-12-18
上傳用戶:1109003457
Methods voID close() int read() reads and returns a chracter. int read(char[] characterArray) populates an array of characters with data. boolean ready() - returns “true” if there is data available. ……
標簽: read characterArray int chracter
上傳時間: 2013-12-18
上傳用戶:小儒尼尼奧
溫度華氏轉(zhuǎn)變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(voID) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf("73分=C等級!!\n") else if (a>=60) printf("73分=D等級!!\n") else if (a<60) printf("73分=E等級!!\n") } { if (b>=90) printf("b=A等級!!\n") else if (b>=80) printf("85分=B等級!!\n") else if (b>=70) printf("85分=C等級!!\n") else if (b>=60) printf("85分=D等級!!\n") else if (b<60) printf("85分=E等級!!\n") } { if (c>=90) printf("c=A等級!!\n") else if (c>=80) printf("66分=B等級!!\n") else if (c>=70) printf("66分=C等級!!\n") else if (c>=60) printf("66分=D等級!!\n") else if (c<60) printf("66分=E等級!!\n") } system("pause") return 0 }
上傳時間: 2014-11-10
上傳用戶:wpwpwlxwlx
溫度華氏轉(zhuǎn)變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(voID) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf("73分=C等級!!\n") else if (a>=60) printf("73分=D等級!!\n") else if (a<60) printf("73分=E等級!!\n") } { if (b>=90) printf("b=A等級!!\n") else if (b>=80) printf("85分=B等級!!\n") else if (b>=70) printf("85分=C等級!!\n") else if (b>=60) printf("85分=D等級!!\n") else if (b<60) printf("85分=E等級!!\n") } { if (c>=90) printf("c=A等級!!\n") else if (c>=80) printf("66分=B等級!!\n") else if (c>=70) printf("66分=C等級!!\n") else if (c>=60) printf("66分=D等級!!\n") else if (c<60) printf("66分=E等級!!\n") } system("pause") return 0 }
上傳時間: 2013-12-12
上傳用戶:亞亞娟娟123
成績顯示三個部份abc #include<stdio.h> #include<stdlib.h> int main(voID) { float gread printf("請輸入分數(shù)\n") scanf("%f",&gread) if(gread>=80&&gread<=100) printf("成績?yōu)锳\n") else if(gread>=60&&gread<=79) { printf("成績?yōu)锽\n") } else if(gread>=0&&gread<60) { printf("成績?yōu)镃\n") } else { printf("分數(shù)輸入錯誤\n") } system("pause") return 0 }
標簽: include stdlib float gread
上傳時間: 2014-01-15
上傳用戶:waizhang