先創建文本文件IN.DAT,在文件中寫20個四位整數。 編寫函數readDat()把從文件中讀出這些數并存入數組a中;編寫函數Calvalue( ), 其功能要求: 1. 求出這文件中共有多少個正整數totNum 2. 求這些數右移1位后, 產生的新數是偶數的數的個數totCnt, 以及滿足此條件的這些數(右移前的值) 的算術平均值totPjz。 最后在Main( )函數中把所求的結果輸出。
上傳時間: 2017-06-30
上傳用戶:Breathe0125
Launch Matlab by either clicking twice on the Matlab icon on your desktop or by selecting: Start Programs Matlab Matlab. The Main window is the MATLAB Command Window, where you write your instructions.
標簽: Matlab selecting clicking desktop
上傳時間: 2017-06-30
上傳用戶:aa17807091
huffman coding and decoding adaptive huffman coding and decoding it is a assignment from my course and code is Main-c decode is Main-e hope it is useful for everybody
標簽: decoding huffman coding assignment
上傳時間: 2017-07-07
上傳用戶:nairui21
This project is developed for school management system in vb and sql server 2000. All source code includes database is present.The Main functions of this software are fees managment,employees managment,student attendance,result and reports developed in vb.
標簽: management developed project school
上傳時間: 2017-07-08
上傳用戶:270189020
This project is to design the automated system for the inventory of Al-Ahmad Cotton and Oil Mills situated at Vehari road, Multan. It is difficult to keep the track of sale purchase and production system of any company, department or organization. It is decided to computerize the sale purchase and production system of Al-Ahmad Cotton and Oil Mill. All the difficulties faced by manual work are considered during the development o this project.Main used tool in vb and sql server 2000...........
標簽: automated inventory the Al-Ahmad
上傳時間: 2013-12-22
上傳用戶:qq1604324866
用SHA算法實現對任意文件的hash摘要,并且把hash摘要值(至少為160bit)存入另一個文件,形如: hash inputfile hashvaluefile 說明:SHA算法的實現至少為160bit,或者可以選擇256,384或者512的,可以查閱相關資料,按照標準來實現(hash的算法是否正確,可以和網上的標準算法對比,用相同的輸入看是否能夠得到相同的輸出)控制臺編程: int Main(int argc, char *argv[ ])
上傳時間: 2017-07-11
上傳用戶:cursor
10個JAVA實例本書全部代碼全部在JDK中調試成功,因此一般可在其他開發工具中使用。 注意有些實例只提供了部分模塊,因此運行時需要添加其他代碼。 光盤中的.java文件可以用任何文本編輯器打開。如果要執行,則使用如下方法: 使用jdk: 編譯所有文件,然后僅執行一次有Main的文件。 使用jb: 若已有一個空工程存在,則將所需文件添加到工程(jb9版本)中,然后按F9鍵。
上傳時間: 2013-12-25
上傳用戶:jcljkh
C編寫,實現字符串摘要、文件摘要兩個功能。 里面主要包含3個文件: Md5.cpp、Md5.h、Main.cpp。其中Md5.cpp是算法的代碼,里的代碼大多是從 rfc-1321 里copy過來的;Main.cpp是主程序。
標簽: 編寫
上傳時間: 2014-11-04
上傳用戶:冇尾飛鉈
In this work an implementation of a geometric nonlinear controller for chaos synchronization in a Field Programmable Gate Array (FPGA) is presented. The Lorenz chaotic system is used to show the implementation of chaos synchronization via nonlinear controller implemented in a Xilinx FPGA Virtex-II 2v2000ft896-4. The Main idea is to design a nonlinear geometric controller which synchronizes a slave Lorenz system to a master system and then implement them into the FPGA.
標簽: synchronization implementation controller geometric
上傳時間: 2013-12-17
上傳用戶:3到15
分別定義圖形類Shape(抽象基類),繼承類矩形類Rectangle、正方形類Square、 圓形類Circle;并且計算周長和面積。在另一個Main函數中分別創建矩形、 正方形和圓形對象,設置所需的屬性值,打印其周長和面積。(備注:只要把該文件解壓,把里面的東東COPY去即可使用)
上傳時間: 2017-07-25
上傳用戶:wuyuying