亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

INT

  • (1) 實(shí)現(xiàn)一個PoINT

    (1) 實(shí)現(xiàn)一個PoINT類,該類包含表示坐標(biāo)的兩個INT型變量x、y,構(gòu)造方法PoINT()和PoINT(INT xx, INT yy),返回x值和y值的INT getX()和INT getY()方法,計算兩點(diǎn)間距離的double distance(PoINT)方法。其中計算平方根用Math.sqrt()方法。 (2) 實(shí)現(xiàn)一個Circle類,該類包含表示圓心的PoINT型變量center,表示半徑的INT radius變量,以及構(gòu)造方法Circle()、Circle(INT xx,INT yy,INT r)、Circle(PoINT c,INT r),返回周長和面積的INT perimeter()、double area()方法,返回兩個圓是否為同一個圓(返回0)、同心圓(返回1)、相交的圓(返回2)、分離的圓(返回3)、包含的圓(返回4)等關(guān)系的INT relation(Circle c)等方法。PI值可以用Math.PI常量。 (3) 實(shí)現(xiàn)測試上述兩個類的ClassTest類。該類在main方法中分別創(chuàng)建若干個PoINT對象和Circle對象,并調(diào)用相關(guān)方法,輸出方法的返回值,驗證其正確性。 (4) 將PoINT類、Circle類和主類的包名分別調(diào)整為p1、p2、p3,并重新運(yùn)行,驗證是否運(yùn)行正確。

    標(biāo)簽: PoINT

    上傳時間: 2014-11-25

    上傳用戶:cylnpy

  • //通過18B20檢測的數(shù)字溫度可在電腦上顯示當(dāng)前溫度值 #include <reg52.h> #define uchar unsigned char #define uINT un

    //通過18B20檢測的數(shù)字溫度可在電腦上顯示當(dāng)前溫度值 #include <reg52.h> #define uchar unsigned char #define uINT unsigned INT sbit DS=P2^2 //define INTerface uINT temp // variable of temperature uchar flag1 // sign of the result positive or negative sbit dula=P2^6 sbit wela=P2^7

    標(biāo)簽: define unsigned include 18B20

    上傳時間: 2014-01-19

    上傳用戶:Andy123456

  • //1602液晶顯示字屏為:TX-1C MCU GOTOYUNLONGDZ #include<reg52.h> #define uchar unsigned char #defi

    //1602液晶顯示字屏為:TX-1C MCU GOTOYUNLONGDZ #include<reg52.h> #define uchar unsigned char #define uINT unsigned INT

    標(biāo)簽: GOTOYUNLONGDZ unsigned include define

    上傳時間: 2014-11-14

    上傳用戶:caiiicc

  • #include <stc12c2052AD.H>// 標(biāo)準(zhǔn)庫的頭文件 #include <INTrins.h> #include <absacc.h> #d

    #include <stc12c2052AD.H>// 標(biāo)準(zhǔn)庫的頭文件 #include <INTrins.h> #include <absacc.h> #define uchar unsigned char #define uINT unsigned INT

    標(biāo)簽: include gt lt INTrins

    上傳時間: 2016-08-29

    上傳用戶:rocwangdp

  • java 對string的各種函數(shù)

    java 對string的各種函數(shù),如跟INT,byte的數(shù)據(jù)類型的轉(zhuǎn)換,編碼的轉(zhuǎn)換等。

    標(biāo)簽: string java 函數(shù)

    上傳時間: 2013-12-18

    上傳用戶:牛津鞋

  • void InitGoertzel(void) 作用:初始化算法參數(shù) 用法:采用算法進(jìn)行檢測前執(zhí)行一次

    void InitGoertzel(void) 作用:初始化算法參數(shù) 用法:采用算法進(jìn)行檢測前執(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ù); 參數(shù):set_SampleRate-音頻數(shù)據(jù)抽樣速率; set_TargetFreq-目標(biāo)信號頻率; set_BlockSize-算法數(shù)據(jù)塊尺寸(采樣點(diǎn)); 用法:調(diào)用本函數(shù)后,需要調(diào)用一次InitGoertzel(void)才會生效

    標(biāo)簽: void InitGoertzel 算法 初始化

    上傳時間: 2016-09-20

    上傳用戶:sssl

  • 在編制鍵盤輸入程序時常常要用到一個鍵的掃描碼或ASC碼

    在編制鍵盤輸入程序時常常要用到一個鍵的掃描碼或ASC碼,如用到 Foxpro 的 inkey() 函數(shù),以及用到 BIOS 的 INT 16H時,但找一個編碼表不太容易,有時候找到的編碼表又不全,無法查到組合鍵的編碼,本程序就是一個隨時用來顯示按鍵的ASC碼及掃描碼的程序,可以用 16 進(jìn)制和 10 進(jìn)制同時顯示一個鍵按下和放開的掃描碼,以及ASC碼,同樣也支持組合鍵。

    標(biāo)簽: ASC 編制 程序 鍵盤

    上傳時間: 2016-09-21

    上傳用戶:釣鰲牧馬

  • 讀取配置文件(ini格式)的程序

    讀取配置文件(ini格式)的程序,可返回INT,char*,float類型等的配置項數(shù)值。

    標(biāo)簽: ini 讀取 程序

    上傳時間: 2016-10-02

    上傳用戶:as275944189

  • C/C++Compiler Suite 2.1 for converting MATLAB applications that contain math, GUIs, and graphics INT

    C/C++Compiler Suite 2.1 for converting MATLAB applications that contain math, GUIs, and graphics INTo freely distributable stand-alone C and C++ code

    標(biāo)簽: applications converting Compiler graphics

    上傳時間: 2013-12-18

    上傳用戶:498732662

  • To find and output 11-999 between the number of m, it is to meet m, m2 and m3 are several palindrome

    To find and output 11-999 between the number of m, it is to meet m, m2 and m3 are several palindrome. The so-called palindrome refers to the number of its symmetrical figures that the whole number, for example, 121,676,94249 and so on. To meet the above requirements, such as the number of m = 11, m2 = 121, m3 = 1331 palindrome are few. Please prepare function INT svalue (long m) to achieve this function, if it is palindrome, is a function to return, while return 0.

    標(biāo)簽: palindrome and between several

    上傳時間: 2013-12-27

    上傳用戶:二驅(qū)蚊器

主站蜘蛛池模板: 金塔县| 崇礼县| 昭通市| 永吉县| 喀喇沁旗| 常州市| 南木林县| 仪征市| 镇康县| 环江| 思南县| 崇明县| 南涧| 庆云县| 竹北市| 乌拉特后旗| 广灵县| 池州市| 合江县| 青海省| 左贡县| 共和县| 吴忠市| 洛隆县| 临夏县| 麻江县| 会同县| 天等县| 阳新县| 沅陵县| 鹰潭市| 深泽县| 离岛区| 衡南县| 九台市| 雷波县| 休宁县| 麻江县| 读书| 平潭县| 莒南县|