原创 VS2015編譯Qt5.7靜態庫

1.安裝安裝 ActivePerl / Python / Ruby 、 VS2015。 ActivePerl: http://www.activestate.com/activeperl/downloads Python: http

原创 Gitlab安裝和使用

一、 簡介 GitLab,是一個利用 Ruby on Rails 開發的開源應用程序,實現一個自託管的Git項目倉庫,可通過Web界面進行訪問公開的或者私人項目安裝。 它擁有與GitHub類似的功能,能夠瀏覽源代碼,管理缺陷和註釋。可以

原创 fsharp處理Excel數據

1.依賴:Microsoft.Office.Interop.Excel .fsx // Reference the Excel interop assembly #r "Microsoft.Office.Interop.Excel" op

原创 Sorting Algorithms

目錄 [TOC] PART 1 內排序 插入排序 ** 直接插入排序 **二分插入排序 **希爾排序 交換排序 ** 冒泡排序 ** 快速排序 交換排序 冒泡排序 基本思想: 通過無序區中相鄰記錄關鍵字間的比較和位置的交換,使關

原创 C語言實現windows和linux下socket通信

client connect to the IP and Port that bind with server server bind a IP and Port then client connect the IP and Port

原创 用牛頓迭代法求某正數n的平方根

求n的平方根,先假設一猜測值X0 = 1,然後根據以下公式求出X1,再將X1代入公式右邊, 繼續求出X2…通過有效次迭代後即可求出n的平方根, Xk+1=(Xk+n/Xk)/2 (當Xk+1-Xk絕對值小於0.00001停止迭代

原创 c++ 十進制轉換十六進制

#include <iostream> #include<string> using namespace std; #include <iostream> using namespace std; voi

原创 實現數的反轉

#include <iostream> using namespace std; void reverse(int n) { int temp; int a[8]; int i=0; while(n!=0)

原创 Win7 下安裝Unbuntu14.04雙系統

準備工具: U盤、UltraISO 、ubuntu14.04鏡像 第一步 、UltraISO製作Ubuntu14.04的系統啓動盤 第二步 、win7 壓縮出一塊空的磁盤 第三步 、U盤啓動安裝Ubuntu到空出的磁盤中 第四步 、

原创 C++ 十進制轉換城二進制

方法一:利用數組 #include <iostream> using namespace std; int main () { int num,temp;int s[8];cin>>num;int i=0;while(num!=0){te