本程序是用JNI技術(shù)實(shí)現(xiàn)的讀取硬盤(pán)序列號(hào) 將ChenminDiskIDJoc.jar 加入環(huán)境變量 這兩個(gè)文件放入window 文件夾 或者JDK的bin文件夾 或者你的應(yīng)用文件夾 DiskID32.dll DiskID.dll public static string chenmin.io.DiskID.Factory() 返回硬盤(pán)廠(chǎng)家 public static string chenmin.io.DiskID.DiskID() 返回硬盤(pán)序列號(hào) ChenminDiskIDTest.bat 將啟動(dòng)直接演示一個(gè)讀取硬盤(pán)序列號(hào)的測(cè)試 測(cè)試讀取硬盤(pán)序列號(hào)的源代碼在ChenminDiskIDTest.jar中
標(biāo)簽: ChenminDiskIDJoc DiskID window JNI
上傳時(shí)間: 2013-12-23
上傳用戶(hù):stewart·
建立一個(gè)通訊錄的類(lèi)note,該類(lèi)中的屬性有以下幾項(xiàng):string name,phone,MobilePhone,zip,address,Email 分別表示:姓名,固定電話(huà),手機(jī)號(hào),郵編,地址,電子郵件地址。方法有兩個(gè):Setnote()給屬性賦初值得函數(shù),方法show()顯示一條通訊記錄。 程序使用了ObjectInPutStream和ObjectOutPutStream這兩個(gè)文件輸入輸出流,利用這兩個(gè)文件輸入輸出流,可以方便的直接將通訊記錄對(duì)象直接寫(xiě)入文件中,另外為了方便添加和刪除一條記錄還使用了系統(tǒng)的對(duì)象數(shù)組類(lèi)Arraylist。同時(shí)也方便了查找操作。
上傳時(shí)間: 2013-12-22
上傳用戶(hù):wangdean1101
Java MP3 Player, Here s a list of features: - Reads, creates, updates, and removes id3v2.3 and id3v2.4 tags - Reads, creates, updates, and removes id3v1 tags - Extracts MPEG data such as bit rate, sample rate, channel mode, etc. - Calculates playing time of mp3 from mpeg information (no good w/VBR) - Can read and create Winamp styled playlists - Offers other utility classes such as MP3FileFilter and MP3Comparator - NullsoftID3GenreTable object keeps a list of genres for you and can automatically determine the id3v1 genre from an id3v2 string or the other way around
標(biāo)簽: and features creates updates
上傳時(shí)間: 2014-11-21
上傳用戶(hù):qq521
MD5算法目前最簡(jiǎn)單的效率最高的VB加密模塊,直接調(diào)用“MD5(string)”即可
上傳時(shí)間: 2014-01-11
上傳用戶(hù):gxmm
用Java編寫(xiě)一個(gè)程序?qū)崿F(xiàn)學(xué)員成績(jī)管理,每個(gè)學(xué)員包括3門(mén)課的成績(jī),從鍵盤(pán)輸入學(xué)員信息(最多輸入20個(gè),但最少并不知道),包括學(xué)號(hào)(string)姓名(string)三門(mén)課成績(jī)(用整形數(shù)組來(lái)存)大家可以下在學(xué)習(xí)一下
上傳時(shí)間: 2016-10-05
上傳用戶(hù):dancnc
CppReference 對(duì)于c/c++的詳盡說(shuō)明 C/C++ Reference General C/C++ Pre-processor commands Operator Precedence Escape Sequences ASCII Chart Data Types Keywords Standard C Library Standard C I/O Standard C string & Character Standard C Math Standard C Time & Date Standard C Memory Other standard C functions All C Functions C++ C++ I/O C++ strings C++ string Streams Miscellaneous C++ C++ Standard Template Library C++ Algorithms C++ Vectors C++ Double-Ended Queues C++ Lists C++ Priority Queues C++ Queues C++ Stacks C++ Sets C++ Multisets C++ Maps C++ Multimaps C++ Bitsets Iterators All C++ Functions
標(biāo)簽: Pre-processor CppReference Reference Operator
上傳時(shí)間: 2016-10-26
上傳用戶(hù):aeiouetla
編寫(xiě)漏洞掃描器探查遠(yuǎn)程服務(wù)器上可能存在的具有安全隱患的文件是否存在,它的socket建立過(guò)程和上面 的端口掃描器是相同的,所不同的是漏洞掃描器通常使用80端口,然后對(duì)這個(gè)端口發(fā)送一個(gè)GET文件的請(qǐng)求,服務(wù)器接收到請(qǐng)求會(huì)返回文件內(nèi)容,如果文件不存 在則返回一個(gè)錯(cuò)誤提示,通過(guò)接收返回內(nèi)容可以判斷文件是否存在。發(fā)送和接收數(shù)據(jù)需要使用函數(shù)send()和recv(),另外對(duì)流中存在的字符串進(jìn)行判斷 需要使用函數(shù)strstr(),這除了需要具備socket函數(shù)庫(kù)的知識(shí)以外,還需要一些有關(guān)string函數(shù)庫(kù)的知識(shí)。
上傳時(shí)間: 2013-12-08
上傳用戶(hù):
基于N進(jìn)制的多精度問(wèn)題 本代碼可以處理N進(jìn)制的多精度四則運(yùn)算。 輸入格式: 全是正數(shù),string(或int)格式,請(qǐng)參見(jiàn)函數(shù)原型!開(kāi)頭不要有多余的零!
標(biāo)簽: N進(jìn)制 精度 代碼 四則運(yùn)算
上傳時(shí)間: 2016-11-15
上傳用戶(hù):釣鰲牧馬
“軟件限時(shí)注冊(cè)”控件(TShareRegist)功能說(shuō)明: 1、只要將該控件加入主窗體,使Action屬性設(shè)為true,再設(shè)置其它屬性,你的軟件就有限時(shí)注冊(cè)的功能了,只要你牢記三個(gè)密鑰,并加上給你的算號(hào)軟件(RegObject_Admin.exe)你就可以無(wú)敵天下了。 2、控件使用目前最嚴(yán)嚴(yán)謹(jǐn)?shù)募用芩惴ǎ?級(jí)加密。是破解成為不可能,可以放心使用。 3、請(qǐng)記住,設(shè)計(jì)不同的軟件,給三個(gè)不同的密鑰,該控件可以讓你享用終生。 控件屬性說(shuō)明: Action:boolean 是否開(kāi)啟限時(shí)注冊(cè)功能 ShareDays:integer 免費(fèi)使用的天數(shù) ShareCount:integer 免費(fèi)使用的次數(shù) RootKey:string 注冊(cè)表的主根 EncrypKey1:string 密鑰1 EncrypKey2:string 密鑰2 EncrypKey3:string 密鑰3 Money:string 注冊(cè)費(fèi)用 ActiveMenuItem:TMenuItem 激活注冊(cè)窗口的菜單項(xiàng)(點(diǎn)擊此菜單項(xiàng)便能彈出“注冊(cè)窗體”) ActiveButton:TButton 激活注冊(cè)窗口的按鈕(同上) Verion:string 控件版本號(hào),只讀的
標(biāo)簽: TShareRegist 控件 軟件
上傳時(shí)間: 2013-12-25
上傳用戶(hù):fredguo
pstmt = conn.prepareStatement("select ordernumber,datetime,price,dayofmoney from zujie where ordernumber= "+ cdName + " ") rs=pstmt.executeQuery() if(rs!=null && rs.next()){ string datetime = rs.getstring(2) java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat ("yyyy-MM-dd") Date date = new Date() string date1=formatter.format(date) ParsePosition pos = new ParsePosition(0) ParsePosition pos1 = new ParsePosition(0) Date dt1=formatter.parse(datetime,pos) Date dt2=formatter.parse(date1,pos1) Long l = (dt2.getTime()-dt1.getTime())/(3600*24*1000)+1 double price = rs.getDouble(3) double dayofmoney=rs.getDouble(4) double dayofmoneybuy=dayofmoney*l double otherMoney = price-dayofmoneybuy request.setAttribute("price", price) request.setAttribute("l", l) request.setAttribute("dayofmoney", dayofmoneybuy) request.setAttribute("otherMoney", otherMoney)
標(biāo)簽: prepareStatement ordernumber dayofmoney datetime
上傳時(shí)間: 2013-12-14
上傳用戶(hù):zsjinju
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1