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

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

農(nóng)(nóng)業(yè)(yè)

  • 自定義一個(gè)簡(jiǎn)單的日期類DateType

    自定義一個(gè)簡(jiǎn)單的日期類DateType,它具有數(shù)據(jù)成員y、m、d,用來表示當(dāng)前日期的年、月、日。而后設(shè)計(jì)該類欲實(shí)現(xiàn)(完成)的功能,進(jìn)而設(shè)計(jì)出相應(yīng)的類成員函數(shù)。 例如,下面給出的“雛形”可用來實(shí)現(xiàn)對(duì)天的增加,比較兩個(gè)日期是否相等,以及對(duì)日期的輸出等操作。請(qǐng)完成各類成員函數(shù),并編制主函數(shù),說明DateType類對(duì)象,對(duì)定義的各成員函數(shù)進(jìn)行調(diào)用,以驗(yàn)證它們的正確性。 class DateType { //自定義的日期類DateType int y,m,d //數(shù)據(jù)成員,表示當(dāng)前日期的年、月、日 public: DateType(int y0=1, int m0=1, int d0=1) //構(gòu)造函數(shù),設(shè)定年、月、日;并設(shè)置參數(shù)默認(rèn)值 void incrementDay() //增加1天 bool equal(DateType dt2) //判斷二日期是否相等 void printDate() //屏幕輸出日期對(duì)象的有關(guān)數(shù)據(jù)(年、月、日) }

    標(biāo)簽: DateType 自定義

    上傳時(shí)間: 2013-12-22

    上傳用戶:songyue1991

  • 當(dāng)手指或筆觸摸屏幕時(shí)

    當(dāng)手指或筆觸摸屏幕時(shí),平常相互絕緣的兩層導(dǎo)電層就在觸摸 點(diǎn)位置有了一個(gè)接觸,因其中一面導(dǎo)電層接通X軸方向的5V均勻電壓場(chǎng)(圖a) ,使得檢測(cè)層的電壓由零變?yōu)榉橇悖刂破鱾蓽y(cè)到這個(gè)接通后,進(jìn)行A/D轉(zhuǎn)換 ,并將得到的電壓值與5V相比即可得觸摸點(diǎn)的X軸坐標(biāo)為(原點(diǎn)在靠近接地點(diǎn) 的那端):Xi=Lx*Vi / V(即分壓原理)同理得出Y軸的坐標(biāo),這就是所有電 阻技術(shù)觸摸屏共同的最基本原理。

    標(biāo)簽: 觸摸屏

    上傳時(shí)間: 2013-11-29

    上傳用戶:黑漆漆

  • 這是描述三次方結(jié)尾問題的原程序即給定以數(shù)字1

    這是描述三次方結(jié)尾問題的原程序即給定以數(shù)字1,3,7,9 為結(jié)尾的正整數(shù)x,試求一個(gè)十進(jìn)制位數(shù)不超過x 的十進(jìn)制位 數(shù)的正整數(shù)y使得x恰為y3的結(jié)尾數(shù)字。

    標(biāo)簽: 程序 數(shù)字

    上傳時(shí)間: 2013-12-25

    上傳用戶:zhangzhenyu

  • ARM公司以及ARM芯片的現(xiàn)狀和發(fā)展

    ARM公司以及ARM芯片的現(xiàn)狀和發(fā)展,從應(yīng)用的角度介紹了ARM芯片的選擇方法,并 介紹了具有多芯核結(jié)構(gòu)的ARM芯片。列舉了目前的主要ARM芯片供應(yīng)商Y其產(chǎn)品以及應(yīng)用領(lǐng)域。舉例說明了幾種嵌入式產(chǎn)品的最佳ARM 芯片選擇方案。

    標(biāo)簽: ARM 芯片 發(fā)展

    上傳時(shí)間: 2013-12-19

    上傳用戶:英雄

  • 輸入:以十進(jìn)制的形式讀入要判斷的年份

    輸入:以十進(jìn)制的形式讀入要判斷的年份,從鍵盤取得的一個(gè)十進(jìn)制數(shù)轉(zhuǎn)換為二進(jìn)制數(shù)存入BX寄存器中,再將BX中的內(nèi)容保存在變量year中。 判斷:首先將year中的內(nèi)容首先除以4,不能被4整除,則一定不是閏年,能被4整除的,需再將year中的內(nèi)容除以100,不能被100整除的,則一定是閏年,能被100整除的,需再將year中的內(nèi)容除以400,能被400整除的,則是閏年,不能被400整除的,則不是閏年。 輸出:經(jīng)判斷后,是閏年的輸出“This is a leap year!”,不是閏年的則輸出“ This is not a leap year! ”,然后輸出是否要繼續(xù)判斷另一年份是否是閏年的提示字符串“ Continue jugding(y/n)?”,輸入‘y’,則輸入要判斷的年份,輸入其它字符則結(jié)束程序。

    標(biāo)簽: 輸入 十進(jìn)制

    上傳時(shí)間: 2015-09-21

    上傳用戶:xmsmh

  • 用VB寫的

    用VB寫的,通過三菱FX1S系列的編程端口與電腦串口進(jìn)行通訊,可對(duì)X、M、Y、D、T、C的寄存器進(jìn)行讀寫控制,操作很簡(jiǎn)單、方便

    標(biāo)簽:

    上傳時(shí)間: 2015-09-29

    上傳用戶:417313137

  • 針對(duì)“虎書”中的tiger語言寫的語法分析器 根據(jù)書中對(duì)tiger語言的描述寫了72條文法

    針對(duì)“虎書”中的tiger語言寫的語法分析器 根據(jù)書中對(duì)tiger語言的描述寫了72條文法,對(duì)所有沖突均進(jìn)行了處理,都是無害的沖突。本分析器還能對(duì)部分錯(cuò)誤恢復(fù)。 特別提示:使用命令"yacc -v tiger.grm"可得到文件y.output

    標(biāo)簽: tiger 語言 語法分析器

    上傳時(shí)間: 2014-01-13

    上傳用戶:epson850

  • CCS編程環(huán)境 使用的是匯編加C的混合編程方法: The programme of the Correlation Algorithm. Using INT2 to get the input s

    CCS編程環(huán)境 使用的是匯編加C的混合編程方法: The programme of the Correlation Algorithm. Using INT2 to get the input signal. Array x, in first step, is the input signal produced by programme, in next step, is the input signal get from A/D, the length is 128, 32-bit floating point. Array y, in first step, is the input signal produced by programme, in next step, is the input signal get from A/D, the length is 128, 32-bit floating point. Array cor is the Correlation result, the length is 255, 32-bit floating point.

    標(biāo)簽: Correlation Algorithm programme the

    上傳時(shí)間: 2013-12-21

    上傳用戶:leixinzhuo

  • bject Inspector is a component suite that contains inspectors allowing you to change anything in y

    bject Inspector is a component suite that contains inspectors allowing you to change anything in your application at runtime. Object Inspector suite includes: TPropertyInterface component for easy access to any property or event of any component at runtime TComponentInspector customizable full-functional runtime object inspector control TComponentComboBox control for easy selecting component TCommonInspector abstract inspector control for inspect anything in your application TDBInspector ready-to-use database inspector control TIniInspector ready-to-use ini-file inspector control TApplicationInspector ready-to-use inspector control for changing Application properties at runtime TSystemColorsInspector ready-to-use inspector control for changing Windows colors Examples small and clean projects illustrating features of inspectors and TPropertyInterface components Source codes full source code of all components and useful internal classes

    標(biāo)簽: inspectors Inspector component allowing

    上傳時(shí)間: 2015-10-02

    上傳用戶:無聊來刷下

  • 單片機(jī)通過DA對(duì)信號(hào)采樣

    單片機(jī)通過DA對(duì)信號(hào)采樣,然后在液晶顯示波形。 功能:采集數(shù)據(jù)、存儲(chǔ)并Y路輸出。擴(kuò)展:A,B路選通,單次/連續(xù)觸發(fā)方式切換, 鎖存當(dāng)前波形,垂直方向增益,垂直方向移動(dòng)波形

    標(biāo)簽: 單片機(jī) 信號(hào)采樣

    上傳時(shí)間: 2014-12-19

    上傳用戶:sxdtlqqjl

主站蜘蛛池模板: 万盛区| 苗栗市| 咸丰县| 扶绥县| 诸暨市| 会泽县| 涞源县| 名山县| 汉寿县| 长兴县| 柘荣县| 沙坪坝区| 旺苍县| 广平县| 土默特左旗| 杨浦区| 高陵县| 铜梁县| 大宁县| 贵南县| 阳曲县| 潞西市| 寻乌县| 石楼县| 化德县| 乐陵市| 宜川县| 桃源县| 泰宁县| 阿拉尔市| 仁怀市| 广州市| 双鸭山市| 沐川县| 莱州市| 瑞昌市| 武威市| 镶黄旗| 萨迦县| 东宁县| 广河县|