s1.c是server,c.c是client, server負責接收client傳的數字進行運算並回傳,運用了同步的機制。編譯須加 -lsocket -lpthread -lrt
標簽: server
上傳時間: 2014-01-02
上傳用戶:athjac
用C#+Access寫的留言本,是我課程設計做的,覺得還行就共享給大家
上傳時間: 2016-03-08
上傳用戶:hongmo
讀入一個C程序,統計程序中代碼、注釋和空行數以及函數的個數和平均行數,并利用統計信息分析評價該程序風格。
標簽: C程序
上傳時間: 2016-03-09
上傳用戶:czl10052678
基于博創ARM3000的平臺上的幾個開發程序。 包含程序math.c以及其他的一些庫文件。整個文件完整,可進行編譯下載。 開發軟件是SDT: 2、串行口實驗
上傳時間: 2014-12-04
上傳用戶:eclipse
功能:編寫的計算皮亞諾相關系數 開發語言: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
關於USB鼠標,使用PDIUSBD12開發USB鼠標。 內有源碼,C語言開發。
標簽: USB
上傳時間: 2016-03-23
上傳用戶:daoxiang126
C語言精彩百例第1-44例 實例1 數據類型轉換 實例2 轉義字符 實例3 關系和邏輯運算 實例4 自增自減 實例5 普通位運算 實例6 位移運算 實例7 字符譯碼 實例8 指針操作符 實例9 if判斷語句 實例10 else-if語句 實例11 嵌套if語句 實例12 switch語句 實例13 for語句 實例14 while語句 實例15 do-while語句 實例16 break和continue語句 實例17 exit()語句 實例18 綜合實例 實例19 一維數組 實例20 二維數組 實例21 字符數組 實例22 數組初始化 實例23 數組應用 實例24 函數的值調用 實例25 函數的引用調用 實例26 數組函數的調用 實例27 命令行變元 實例28 函數的返回值 實例29 函數的嵌套調用 實例30 函數的遞歸調用 實例31 局部和全局變量 實例32 變量的存儲類別 實例33 內部和外部函數 實例34 綜合實例1 實例35 綜合實例2 實例36 變量的指針 實例37 一維數組指針 實例38 二維數組指針 實例39 字符串指針 實例40 函數指針 實例41 指針數組 實例42 二維指針 實例43 指針的初始化 實例44 綜合實例
上傳時間: 2014-01-16
上傳用戶:royzhangsz
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
0820位串行溫度傳感器,DS18B20的使用,C語言,
上傳時間: 2013-12-19
上傳用戶:VRMMO
多項式曲線擬合 任意介數 Purpose - Least-squares curve fit of arbitrary order working in C++ Builder 2007 as a template class, using vector<FloatType> parameters. Added a method to handle some EMathError exceptions. If do NOT want to use this just call PolyFit2 directly. usage: Call PolyFit by something like this. CPolyFit<double> PolyFitObj double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A) where X and Y are vectors of doubles which must have the same size and A is a vector of doubles which must be the same size as the number of coefficients required. returns: The correlation coefficient or -1 on failure. produces: A vector (A) which holds the coefficients.
標簽: Least-squares arbitrary Purpose Builder
上傳時間: 2013-12-18
上傳用戶:宋桃子