RaspberryPi openFrameworksでBoost Libraryを使う
#include <boost/algorithm/string.hpp> using namespace boost; int main() { string str("192.168.0.1 192.168.0.2"); list<string> list_string; split(list_string,str,is_space()); for(auto list : list_string){ ofLog() << list; } }
#includeでヘッダ読み込むだけで使えました。functionなど一部std名前空間と名前がかぶっているようなので注意する。
Recent entries
- jit.gl.gridshape の matrixoutput についてのメモ #max8
- jit.gl.pix で簡易モーションブラー #max8 #jitter
- jit.gl.pix で Gold Noise #max8 #jitter
- Gen で配列をつくる検討 #Max8
- Package Managerで配布されているease objectを使いやすくしてイージング #max8
- Node for Max を用いて、定形外のUDPデータを受信 #Max8 #n4m
- 平ハウス物語 – 山田尚子監督作品 非公式ファンイベント
- The Splendid Expression – GITADORA×NOSTALGIA
- ghost in my place【from DEEMO II】
- EP “Boys O’Clock”
- 7th Album “多次元宇宙論”
- LEON.jpのWEB特集「大人のいい時間」にAromが紹介されました。
- 音できらめくキャンドルライト Arom(第2世代)発売開始
- EP “Strange Story”
- 都市の呼吸【from Cytus II】