2013-03-01から1ヶ月間の記事一覧

ctypesでC言語側の配列データを取得する方法

参考 http://stackoverflow.com/questions/4213095/python-and-ctypes-how-to-correctly-pass-pointer-to-pointer-into-dll // c_hoge.cpp #include "c_hoge.h" #include <stdlib.h> static int numData = 0; static float* arData = NULL; void getArrayData(float** </stdlib.h>…

QStringとstd::wstringの変換

http://stackoverflow.com/questions/5625884/conversion-of-stdwstring-to-qstring-throws-linker-error /*! Convert a QString to an std::wstring */ std::wstring qToStdWString(const QString &str) { #ifdef _MSC_VER return std::wstring((const wcha…

メモ

20世紀を変えた10のアルゴリズム http://top-10-algorithms.sl-jp.com/

mini-Python

mini-Python http://www.logos.ic.i.u-tokyo.ac.jp/lectures/enshu2007/index.php?%B9%D6%B5%C1%BB%F1%CE%C1 Pythonの簡易版を作る資料らしい。 あとで勉強する予定。