溫度華氏轉(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 }
標(biāo)簽: include stdlib stdio gt
上傳時(shí)間: 2013-12-12
上傳用戶:亞亞娟娟123
跨數(shù)據(jù)庫平臺: n 支持 oracle 的OCI n 支持DB2的CLI, n 支持ODBC(通過ODBC,可支持SQL SERVER,MySQL等) Ø 跨OS平臺: n 標(biāo)準(zhǔn)C++語言,支持 unix/linux/windows Ø 使用簡單: n 只有一個(gè)頭文件 n 接口簡潔.otl_stream, otl_connect, otl_exception等就可以完成大部分工作 n 相對 ProC等嵌入式開發(fā),代碼能相應(yīng)減少 Ø 性能: n 直接訪問數(shù)據(jù)庫API接口,具有API接口的高效率,可靠性 Ø 穩(wěn)定性: n 開源代碼,唯一的代碼文件otlv4.h,可以了解所有基于數(shù)據(jù)庫API的實(shí)現(xiàn)細(xì)節(jié) n 從1996年開始,到今已10余年. Ø 可讀性及可維護(hù)性: n 標(biāo)準(zhǔn)C++代碼,不需要任何預(yù)處理 n 使用流的形式,輸入輸出異常簡潔 n 減少大量代碼, n 代碼結(jié)構(gòu)更加簡潔 參考資料: http://otl.sourceforge.net/
標(biāo)簽: ODBC oracle SERVE OCI
上傳時(shí)間: 2017-06-14
上傳用戶:cainaifa
RSA算法 :首先, 找出三個(gè)數(shù), p, q, r, 其中 p, q 是兩個(gè)相異的質(zhì)數(shù), r 是與 (p-1)(q-1) 互質(zhì)的數(shù)...... p, q, r 這三個(gè)數(shù)便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 這個(gè) m 一定存在, 因?yàn)?r 與 (p-1)(q-1) 互質(zhì), 用輾轉(zhuǎn)相除法就可以得到了..... 再來, 計(jì)算 n = pq....... m, n 這兩個(gè)數(shù)便是 public_key ,編碼過程是, 若資料為 a, 將其看成是一個(gè)大整數(shù), 假設(shè) a < n.... 如果 a >= n 的話, 就將 a 表成 s 進(jìn)位 (s
標(biāo)簽: person_key RSA 算法
上傳時(shí)間: 2013-12-14
上傳用戶:zhuyibin
排序算法的性能比較 對不同類型的問題規(guī)模,測試各種介紹的排序算法的性能。統(tǒng)計(jì)他們的鍵值比較次數(shù),鍵值移動次數(shù)以及運(yùn)行時(shí)間并分析結(jié)果。 小型問題:N≈20 中型問題:N≈2000 大型問題:N≈200000. C 語言的32關(guān)鍵字如下: 實(shí)驗(yàn)原理: 線性表的排序,快速,起泡,選擇,插入。
上傳時(shí)間: 2013-12-20
上傳用戶:lingzhichao
1、 了解系統(tǒng)調(diào)用pipe()的功能和實(shí)際原理 2、 編寫一段程序,使用管道實(shí)現(xiàn)父子進(jìn)程之間的通信 a) 使用系統(tǒng)調(diào)用fork()創(chuàng)建一個(gè)子進(jìn)程 b) 子進(jìn)程調(diào)用函數(shù)write()向父進(jìn)程發(fā)送自己的進(jìn)程ID和字符串” s sending a message to parent.\n”。 c) 父進(jìn)程調(diào)用函數(shù)read()通過管道讀出子進(jìn)程發(fā)來的消息,將消息輸出屏幕,然后終止
標(biāo)簽: pipe 系統(tǒng)調(diào)用 程序 編寫
上傳時(shí)間: 2013-12-16
上傳用戶:古谷仁美
KernelDriver發(fā)展套件,客戶可直接存取USB硬體,並更快為Windows 98、Me、2000、XP、NT、Windows CE.NET和Linux作業(yè)系統(tǒng)發(fā)展高效能的USB裝置驅(qū)動程式。這些工具提供圖形導(dǎo)向的發(fā)展環(huán)境、使用簡單的應(yīng)用程式界面、硬體診斷工具和範(fàn)例程式,可以排除研發(fā)瓶頸,讓裝置驅(qū)動程式的發(fā)展更容易。
標(biāo)簽: KernelDriver 套件
上傳時(shí)間: 2015-10-19
上傳用戶:skhlm
This book is the most accurate and up-to-date source of information the STL currently available. ... It has an approach and appeal of its own: it explains techniques for building data structures and algorithms on top of the STL, and in this way appreciates the STL for what it is - a framework. Angelika Langer, Independent Consultant and C++ Report Columnist "A superbly authored treatment of the STL......an excellent book which belongs in any serious C++ developer s library." Jim Armstrong, President 2112 F/X, Texas. \n The C++ Standard Template Library (STL) represents a breakthrough in C++ programming techniques. With it, software developers can achieve vast improvements in the reliability of their software, and increase their own productivity.
標(biāo)簽: information up-to-date available currently
上傳時(shí)間: 2015-10-31
上傳用戶:CHINA526
我用matlab寫的一個(gè)corner detector, 效果比現(xiàn)在流行的harris,susan,CSS等效果要好。 Algorithm is derived from: X.C. He and N.H.C. Yung, Curvature Scale Space Corner Detector with Adaptive Threshold and Dynamic Region of Support , Proceedings of the 17th International Conference on Pattern Recognition, 2:791-794, August 2004. Improved algorithm has been included in A Corner Detector based on Global and Local Curvature Properties and submitted to Optical Engineering.
標(biāo)簽: detector matlab corner harris
上傳時(shí)間: 2013-12-30
上傳用戶:569342831
一、程式名稱:embed.java 二、程式功能:藏入數(shù)位浮水印處理程式 四、輸入檔(資料)格式: 1.本程式所採用之影像格式皆為*.raw之灰階影像。 2.本程式採用的浮水印格式為128×128之灰階影像ccu.raw。 3.本程式所採用的原始影像格式為512×512 之灰階影像Lena.raw。 五、輸出檔(資料)格式: 1.本程式輸出的藏入浮水印影像格式為512×512 之灰階影像Lena2.raw。 六、執(zhí)行環(huán)境: 1.系統(tǒng):Windows 98/ME/2000。 2.軟體:JavaTM 2 SDK (Version 1.3)。 七、執(zhí)行方式: 1.在DOS環(huán)境下執(zhí)行embed.java,指令如下:java embed。
上傳時(shí)間: 2016-03-24
上傳用戶:tzl1975
單片機(jī)C語言編程與實(shí)例,比assembly language容易掌握,幫助建立較複雜的自動化系統(tǒng)
標(biāo)簽:
上傳時(shí)間: 2016-07-26
上傳用戶:wangchong
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1