/* RSA Demo 1.0 版 * 版權所有 (C) 2004 趙春生 * 2004.04.25 * http://timw.yeah.net * http://timw.126.com * 本程序調用Miracl ver 4.82大數運算庫,詳見其附帶手冊。 * P,Q,N,D,E使用RSATool2生成。 */ 編譯提示: 一:將Project-Settings-Settings For(All Configuration)-C/C++中Category項的 Precompiled Headers設置成:Automatic use of precompiled headers(圖1)。 二:將ms32.lib添加到工程中(圖2)。 三:MIRACL是C庫。 extern "C" { #include "miracl.h" #include "mirdef.h" } #pragma comment( lib, "ms32.lib" )
上傳時間: 2015-03-23
上傳用戶:leehom61
/* RSA Demo 1.0 版 * 版權所有 (C) 2004 趙春生 * 2004.04.25 * http://timw.yeah.net * http://timw.126.com * 本程序調用Miracl ver 4.82大數運算庫,詳見其附帶手冊。 * P,Q,N,D,E使用RSATool2生成。 */ 編譯提示: 一:將Project-Settings-Settings For(All Configuration)-C/C++中Category項的 Precompiled Headers設置成:Automatic use of precompiled headers(圖1)。 二:將ms32.lib添加到工程中(圖2)。 三:MIRACL是C庫。 extern "C" { #include "miracl.h" #include "mirdef.h" } #pragma comment( lib, "ms32.lib" )
上傳時間: 2013-12-17
上傳用戶:liansi
C++完美演繹 經典算法 如 /* 頭文件:my_Include.h */ #include <stdio.h> /* 展開C語言的內建函數指令 */ #define PI 3.1415926 /* 宏常量,在稍后章節再詳解 */ #define circle(radius) (PI*radius*radius) /* 宏函數,圓的面積 */ /* 將比較數值大小的函數寫在自編include文件內 */ int show_big_or_small (int a,int b,int c) { int tmp if (a>b) { tmp = a a = b b = tmp } if (b>c) { tmp = b b = c c = tmp } if (a>b) { tmp = a a = b b = tmp } printf("由小至大排序之后的結果:%d %d %d\n", a, b, c) } 程序執行結果: 由小至大排序之后的結果:1 2 3 可將內建函數的include文件展開在自編的include文件中 圓圈的面積是=201.0619264
標簽: my_Include include define 3.141
上傳時間: 2014-01-17
上傳用戶:epson850
用C語言來實現的。牛頓插值法對一些函數作近似的替代,是N個節點數的插值函數。
上傳時間: 2013-12-31
上傳用戶:lo25643
N個源碼,都是C文件或C++源文件。 此文件高壓縮。解壓時間可能長一些。 申請加下載限額。 主頁:http://www.programsalon.com/developer.asp?id=victor000000 郵箱:victor000000@tom.com
標簽: 源碼
上傳時間: 2013-12-21
上傳用戶:stewart·
prolog 找路例子程序: === === === === === === Part 1-Adding connections Part 2-Simple Path example | ?- path1(a,b,P,T). will produce the response: T = 15 P = [a,b] ? Part 3 - Non-repeating path As an example, the query: ?- path2(a,h,P,T). will succeed and may produce the bindings: P = [a,depot,b,d,e,f,h] T = 155 Part 4 - Generating a path below a cost threshold As an example, the query: ?- path_below_cost(a,[a,b,c,d,e,f,g,h],RS,300). returns: RS = [a,b,depot,c,d,e,g,f,h] ? RS = [a,c,depot,b,d,e,g,f,h] ? no ==================================
標簽: Part connections example prolog
上傳時間: 2015-04-24
上傳用戶:ljt101007
一個基于NHibernate的N層開發基礎框架(可以,馬上應用到你的項目中),使用.NET(C#)開發。基本操作CRUD完全實現,數據間的關系(one-to-many,many-to-many)均有實現!
標簽: NHibernate 開發基礎
上傳時間: 2013-12-20
上傳用戶:gaojiao1999
c語言的數學實驗報告 (該程序經過調試成功后能實現五項功能:1,解n階行列式;2,解n階線性方程; 3,求矩陣相乘;4,求矩陣;5,退出) 交作業好用
上傳時間: 2014-01-12
上傳用戶:aysyzxzm
用c語言實現的導游圖,有圖形界面,支持鼠標操作,使用dfs和floyd算法實現給出兩點間最短路和最長路。
標簽: c語言
上傳時間: 2013-12-11
上傳用戶:a3318966
C-C法重構相空間文件夾說明1.CC_Method_main.m - 程序主文件 2、LorenzData.dll - 產生Lorenz離散數據 3、normalize_1.m - 信號歸一化 4、ccFunction.dll - 計算S(m,N,r,t)
標簽: CC_Method_main LorenzData normalize Lorenz
上傳時間: 2013-12-21
上傳用戶:15071087253