2010-05-01ãã1ã¶æéã®è¨äºä¸è¦§
ãªããè¨äºã®ç·¨é page ( 詳細編é mode ? ) ãå¤ãã£ã¦ãã½ããã ãã©ç¸å¤ããããè¨äºãæ¸ãããæ¼ãã¦ãã¾ã£ãã㪠textbox ãåºã¦ãããã§ã¯ãªãã¦ãã®æ¥ã®ä»¥åæ¸ããè¨äºã®ç·¨éç»é¢ã«ãªããã ããä»æ¹ãªããã
VS10 㧠stdint.h ã使ããããã«ãªã£ã¦ããã¨ã«ä»æ´æ°ä»ããã以ä¸ã® code ã compile éãããã«ãªã£ã¦ãã http://github.com/januswel/cpplib/blob/master/header/elapsed.hpp http://github.com/januswel/cpplib/blob/master/sample/elapsed/main.cpp Vâ¦
ãªãããããä¹ ãã¶ããªæ°ããããã¨ããã®ã¯ããã¨ã㦠wav file ( RIFF WAV linear PCM ) ã® header ãèªã¿æ¸ããã C++ header ãæ¸ãã¦ã¿ãã fmt sub-chunk ã®æ¡å¼µé¨åã¨ãèãæ°ãããªãã®ã§ bug ã¨ããªããã°ãã㧠fix ã http://github.com/janusweâ¦
http://d.hatena.ne.jp/janus_wel/20100522/1274515252 ã§è¨ã£ã¦ã file template ã®åå²ããã£ãã Makefile ãæ¸ããããå¾ãªããªã£ã¦æ¸ãããæ¸ããã§ã¢ã¬ ? ãã copy & rename & replace ããã°éç£ã§ãããããã ? ã¨ããæµãã§ä½ã£ã¦ã¿ãã http://gâ¦
http://d.hatena.ne.jp/janus_wel/20100508/1273332573 ã§è¨ã£ã¦ãã¢ã¬ãããããã¨ããã®ãä»åã対象ã¨ããããã¯æ´å©ã»æ½ç対象ã«ãªããããªã¨ããã®æ§æå¡ã«ãæå³ã®ãªããã®ãæ¸ããªã㨠direct ã«è«ãããã®ã§ã³ã¬ä½¿ããªããããããæ¸ãããè©°ãããâ¦
sequence_container ( http://www.cplusplus.com/reference/stl/ ã®è¡¨åç § ) ãåºåå ã¨ããã¨ä¸ã® code ãå¤åç´ ç´ãªæ¸ãæ¹ã sequence_container.resize(std::count_if(src.begin(), src.end(), pred)); std::remove_copy_if( src.begin(), src.end(), seqâ¦
code ã®ã²ãªå½¢ã¨ããæå³ã§ã® template ã http://github.com/januswel/dotfiles/blob/master/vimfiles/template/-.cpp ãã¼ãã¼ã¨ãã¡ã¯ vim ã§ã¢ã¬ã³ã¬ãã¦ãã®ã§ filename ã ã¨ã comment å ã®ããããããªãã¢ã¬ã ã¨ãã¯ä»¥ä¸ãåç §ã§ã autotmpl.vim httâ¦
ä¹ ãã¶ãã«ããããæ´æ°ãã¨ããã¨æã£ã¦è¦ãããã§ã¦ããã§ã VC2008ã§ã³ã³ãã¤ã«ãã32bitçã§ããVC2008ã§ã³ã³ãã¤ã«ããããã«VC2003ã§ã³ã³ãã¤ã«ãã¦ããéå»ã®çã§å©ç¨ã§ãã¦ããããã¤ãã®æ©è½ã¯ä½¿ããªããªã£ã¦ãã¾ãã é¦ãå± â KaoriYa ã¨æ¸ãã¦ãâ¦
program ãæ¸ãä¸ã§å¿ è¦ã«ãªããããªãã®ãã¾ã¨ãã header file ã wmain.cpp ã®ã»ãã¯å é¨ã®æååå¦çããã¹ã¦ wchar_t ããã³ std::wstring ã§ããå ´åã http://github.com/januswel/cpplib/blob/master/header/main.hpp http://github.com/januswel/cpâ¦
å¦çç³»ã®æåã check ããããã® code 群ã cpplib repository ã«ã¤ã£ãããã¨ã«ããã library ãããªããã ãã©å½¢å¼ç¥ã ãã¾ãä¼¼ããããªããã¨è¨ããã¨ã§ä¸ç·ããã«ã std::bind2nd ã® check http://github.com/januswel/cpplib/blob/master/impltest/biâ¦
sequence container ãå¼æ°ã«åãé¢æ°ãå®ç¾©ãã¦ãã¾ã£ãã®ã§ããããããã¨ããæãã§ã http://github.com/januswel/cpplib/blob/master/header/algorithm.hpp http://github.com/januswel/cpplib/commit/ba15e77b2f0706e73cf30dd566b007a4292b1729 http:/â¦
Visual Studio 2010 㧠reference ãªå¼æ°ã« std::bind2nd ã§ããããã«ãªã£ãã®ã§ãã¡ã® cpp library ã 㨠ã使ã£ã¦æ¸ãç´ãã¦ã¿ãã http://github.com/januswel/cpplib/commit/5222ccf23ba3082b1ce44da90f9e93fa51d80765 http://github.com/januswel/cpplâ¦
Perl ã javascript ã§ããã¨ããã® join 㨠split ãæ¸ãã¦ã¿ãã http://github.com/januswel/cpplib/blob/master/header/typeconv.hpp http://github.com/januswel/cpplib/commit/e04a31543657f5e23c67ea4fbc4326a3ab093805 http://github.com/januswel/câ¦
ãã¤ã®éã«ãã§ã¦ã -> http://www.microsoft.com/japan/msdn/vstudio/express/ ãã¨ãããã compiler ã ã cmd.exe ãã使ã£ã¦ããã ãã© vs9 ã§éããªãã£ã以ä¸ã® code ããã¡ãã¨éãããã«ãªã£ã¦ãã¦ã¡ãã£ã¨æåããã #include <algorithm> #include <functional> #include <iostream></iostream></functional></algorithm>â¦
æåã©ããããã ããã¨æã£ããã© C ã§ã¯ãé¢æ°ã® pointer ãåã宣è¨ããã®ã«æ»ãåã¨å¼æ°ãæå®ãã¦ããã C++ compiler 㯠signature ã§ã©ã®é¢æ°ãå¼ã°ãã¦ããããå¤æãã¦ãããããªã®ã§ããã signature ãæ§æããå¼æ°ã¨ ( member function ã®å ´å )â¦
念ã®ããã¨ããã£ããã ããã§å ¨ç¶æå³ãéã£ã¦ãã¦ãã¾ããã¨ã«æ°ä»ããã®ã§ã¾ã¨ãããã class ã® member ( data member ã§ã member function ã§ããã ) ã¸ã® pointer ãåãå ´åããã®é¢æ°ã® qualified-id ( global åå空éãèµ·ç¹ã¨ãã¦åå空éã claâ¦
ã²ãããªãã¨ãã ã¾ããã®é¢æ° ( http://www.cplusplus.com/reference/algorithm/ ) ã使ãããã«ãªã£ã¦ãã¼ iterator ã¨ãã interface ã§ãã¹ã¦æä½ããããããªãã»ã©ã¨ãæã£ã¦ããã ãã©æ¬²ãããã®ããªãã£ãã®ã§æ¸ãã¦ã¿ãã http://github.com/janusâ¦