數據結構與算法合輯, C/C++語言代碼,對于基礎不扎實的程序員
上傳時間: 2016-01-07
上傳用戶:xg262122
Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產生led module。 insmod main.o //安裝模組 mknod /dev/leds c 221 0 使用方法: int main(int argc, char *argv[]) { int testdev //led test... testdev = open("/dev/QuickMarkLed",O_RDWR) ioctl(testdev, 2, 1) //ioctl(device, led number, open/close) open=1 ioctl(testdev, argv[1][0]- 0 , argv[2][0]- 0 ) //ioctl(device, led number, open/close) open=1 close(testdev) return 0 }
標簽: s3c2440 driver Linux dev-C
上傳時間: 2014-01-01
上傳用戶:qlpqlq
本書是針對工程上常用的行之有效的算法而編寫的C語言函數程序集,包括了近幾年出現的許多新算法。全書分為數值計算與非數值計算兩部分。其中數值計算部分的內容包括:線性代數方程組的求解、矩陣運算、矩陣特征值與特征向量的計算、非線性方程與方程組的求解、插值、數值積分、常微分方程(組)的求解、擬合與逼近、數據處理與回歸分析、極值問題、數學變換與濾波、特殊函數、隨機數的產生、多項式與連分式函數的計算、復數運算;非數值計算部分的內容包括:排序、查找、圖形模式下讀寫屏幕象點、基本圖形操作、漢字操作等。
上傳時間: 2014-01-12
上傳用戶:xjz632
用C語言寫的常用的數值算法,包括插值,擬合,矩陣運算,微分方程求解,線性方程求解等
上傳時間: 2014-01-19
上傳用戶:comua
本書從編程實踐的角度詳細介紹了Windows環境下和DOS環境下的串口通信的基本方法,并根據當前串口與網絡合的發展趨勢,介紹了串口與網絡 TCP/IP、遠程控制與監測相結合的一些解決方案和編程要點。由于編程步驟詳盡,初學Visual C++/C(甚至以前完全沒有接觸過Visual C++)的讀者也能很快編寫出Visual C++的串口通信程序.本書配光盤,書中實例源程序和相關資料可在對應章節的文件夾中找到. 本書是從事串口及網絡能信的技術人員和學習者的極佳參考資料,也可以作為數據通信課程的輔助教材.
上傳時間: 2016-02-17
上傳用戶:jkhjkh1982
用C++中的MFC編程實現正軸等角割圓柱投影,實現以下要求: 取克拉索夫斯基橢球 (1)制圖區域: Bs=0°, BN=25° LE=105°, LE=125° (2)經緯線間隔: ΔB=ΔL=5° (3)制圖比例尺: 1:M0=1:1000 000 (4)標準緯線: Bk=±15° 計算經緯網格點的 x, y,m,n, p
上傳時間: 2013-12-29
上傳用戶:himbly
加密程序源代碼* A 變成 C,B 變成 D,a 變成 c,b 變成 d,Y 變成 A, * z 變成 b,以此類推。非字母字符不變。
上傳時間: 2013-12-28
上傳用戶:stvnash
功能:編寫的計算皮亞諾相關系數 開發語言:ruby 調用:correlate(x,y) 其中,x,y為需要計算相關度的向量 調用示例: a = [3, 6, 9, 12, 15, 18, 21] b = [1.1, 2.1, 3.4, 4.8, 5.6] c = [1.9, 1.0, 3.9, 3.1, 6.9] c1 = correlate(a,a) # 1.0 c2 = correlate(a,a.reverse) # -1.0 c3 = correlate(b,c) # 0.8221970228 puts c1#,c2,c3
上傳時間: 2013-12-18
上傳用戶:skfreeman
C語言精彩百例第71-93例 第三篇 常用算法篇 實例71 鏈表的建立 實例72 鏈表的基本操作 實例73 隊列的應用 實例74 堆棧的應用 實例75 串的應用 實???76 樹的基本操作 實例77 冒泡排序法 實例78 堆排序 實例79 歸并排序 實例80 磁盤文件排序 實例81 順序查找 實例82 二分法查找 實例83 樹的動態查找 實例84 二分法求解方程 實例85 牛頓迭代法求解方程 實例86 弦截法求解方程 實例87 拉格朗日插值 實例88 最小二乘法擬合 實例89 辛普生數值積分 實例90 改進歐拉法 實例91 龍格-庫塔法 實例92 高斯消去法 實例93 正定矩陣求逆
上傳時間: 2016-03-24
上傳用戶:thinode
Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a box and writes "Hello World" in HelloWorld.f it. data The data file for the introductory progressive example. Lines.c Reads the data from file "data" and plots just the curve with Lines.f no labels, viewport or anything indicating quantity or units. Viewport.c Restricts the graph to a viewport and frames the viewport, Viewport.f leaving the remainder of the area for labels, etc. CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis CharLbls.f title. Tics.c Adds tic marks to the viewport edges, but since clipping was Tics.f not set correctly, tics extend outside the viewport. Clip.c Sets clipping such that tic marks are clipped at the viewport Clip.f boundaries. TicLabels.c Adds numeric tic labels to the graph this is the final TicLabels.f installment of the progressive example.
標簽: introductory HelloWorld containing Directory
上傳時間: 2016-03-29
上傳用戶:exxxds