- Jun 27 Thu 2024 10:16
-
VS2017呼叫matplotlib for C++
- Jun 25 Tue 2024 10:55
-
c++標準函式庫vector和list範例
- Jun 25 Tue 2024 10:27
-
c++標準函式庫pair
- Jan 23 Wed 2019 11:34
-
c++非同步儲存影像 – Part II

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

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

看了網路上[1]有關Function Pointer, 感覺Function Pointer使用語法很累贅, 於是聯想到typedef來簡化原本累贅的語法double (*PtrFun)(double a, double b)只要前面多加一個typedef, 呼叫上就會變得比較親民typedef double (*PtrFun)(double a, double b)例如我想要一個四則運算的功能PtrFun p[4]{ OperatorAdd, OperatorSub, OperatorMul, OperatorDev };宣告一個PtrFun資料型態,存放四個函式指標(即為函式名稱)
- Apr 11 Mon 2016 14:32
-
C++如何載入一個純文字的資料(*.txt)至一個陣列資料格式?

下載 Boost C++ Libraries 依照你的Visual Studio 選擇適合的版本boost_1_60_0-msvc-14.0-64.exe
boost_1_60_0-msvc-12.0-64.exe
boost_1_60_0-msvc-11.0-64.exe
boost_1_60_0-msvc-10.0-64.exe
- Mar 27 Sun 2016 16:50
-
安裝GLUT - The OpenGL Utility Toolkit

到官網下載下載後解壓縮至任何你喜歡的資料夾, 以我筆電為例E:\GLUT\glutdlls37beta先設定專案環境<環境變數>設定, 在Path變數加入GLUT安裝路徑(DLL目錄)如果懶得加入系統變數,則是將E:\GLUT\glutdlls37beta\glut32.dll複製一份至Debug資料夾下就可以正常執行…
- Mar 25 Fri 2016 08:35
-
Boost Library Version 1.60.0

到 http://www.boost.org/ 下載最新版本目前是1.60.0點選熟悉的windows作業系統點選後直接連到Sourceforge下載檔案有些大 126MB解壓縮至如 E:\Boost Library\boost_1_60_0------------------------------------------------------------------------------執行bootstrap
- May 14 Thu 2015 11:11
-
Some Good Stuff for Open Source and a Different IDE

open source clustering LIBSVM -- A Library for Support Vector Machines Fast Artificial Neural Network Library Code::Blocks - The IDE with all the features you need, having a consistent look, feel and operation across platforms.
- May 06 Wed 2015 16:52
-
編譯 xbee ansic library

下載 https://github.com/digidotcom/xbee_ansic_library 安裝MinGW - Minimalist GNU for Windows 確認系統變數Path包含C:\MinGW\bin DOS command window切換至samples code資料夾位置


