image
在 c++非同步儲存影像 – Part I 我們提到一個問題錯誤    C1189    #error:  <future> is not supported when compiling with /clr or /clr:pure.解法思路:另外創建一個專案LibAsynSaveCLR(支援CLR)基本上這個新專案是封裝上一個LibAsynSave專案(不支援CLR)在LibAsynSaveCLR專案屬性->其他include目錄加入前一個專案LibAsynSave的目錄,後面步驟會引入該專案的標頭檔案

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
首先google c++ async找到c++撰寫非同步範例
std::async 基本用法std::async 可以看成是 std::threads 的一個高階介面,它可以用來將比較耗時的工作分給多個執行緒平行計算,算完之後再取回結果,提高整個程式的執行效能,而其語法與 std::threads 相較之下又更單純許多,絕大部分需要平行化的 C++ 應用程式通常都會比較適合採用 std::async。

me1237guy 發表在 痞客邦 留言(0) 人氣()


用TCP穿透NAT(TCP打洞)的实现NAT穿透技術 從外部直接溝通私有IP基于TCP的P2P穿透技术
[C# 网络编程系列]专题八:P2P编程C# : 雙向的P2P聊天程式Peer to peer networking in C# using WebRTCBuilding A Blockchain In .NET Core - P2P Network

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
The CREATE DATABASE statement is used to create a database.
語法: CREATE DATABASE dbname;
範例: CREATE DATABASE car;

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
The CREATE DATABASE statement is used to create a database. 語法: CREATE DATABASE dbname; 範例: CREATE DATABASE car;  

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
下載 freeType 2.9.1 編譯 freeType產生static library   加入新的屬性表單 ChineseFont.props

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
首先, 以ArrayList為例,透過foreach指令來依序讀取內容物
 1: ArrayList list = new ArrayList();
 2: list.Add("1");
 3: list.Add(2);
 4: list.Add("3");
 5: list.Add('4');
 6: foreach(object o in list)
 7: {
 8: Console.Write($"{o.GetType().ToString()} :");
 9: Console.WriteLine(o);
 10: }

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
安裝完後,可以看log4net參考 加入應用程式組態檔,在程式執行檔目錄下新增檔案命名為log4net.config,內容填寫如下

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
    選擇一個合適的編輯器,這裡我選擇Notepad++

me1237guy 發表在 痞客邦 留言(0) 人氣()

image

  傳統 string.Format string.format( “{編號0} {編號1}…{編號N}”, 變數0, 變數1, … 變數N );  

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
 Create a Zip with full control over contents 新增一個類別庫專案: ZipTool ZipTool專案  

me1237guy 發表在 痞客邦 留言(0) 人氣()

image
Histogram Comparison (Histogram Matching) where the first one is the base (to be compared to the others), the other 2 are the test images. We will also compare the first image with respect to itself and with respect of half the base image.

me1237guy 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。