2010-02-01ãã1ã¶æéã®è¨äºä¸è¦§
ãããã C++ ã§ã®é ascii character ã®æ±ãã¯ã©ããªã£ã¦ãã®ããªã¨æã£ã¦ã¡ãã£ã¨è©¦ãã¦ã¿ããã ãã©ç¸å¤ããããã¡ã£ã½ãããããããããã®ãããããªããã©è©¦ãã¦è¦ãéãã§ã¯ VC++ 2008 Express Edition ã cp932 åºå® ( utf-8 ã ã¨éãæåã¨éããªãâ¦
ããã§ãããä½ããã¯åã®ãã¨ããããããªã stringstream ãã¾ãã°ãããããã¨ããã®ã¯æ£è§£ã¨ããã大æ£è§£ãªãã ãã© stringstream ã¯çæããã«ãã¦ããã®å¤§ããã«ãã¦ããã£ãããéãããå¤ææä½ãä¸é£ã®æç¶ãã¨ãã¦éãè¾¼ãã¦ãã¾ããã¨ã«æ義ããâ¦
VC++ ã«ããã NRVO ã«ã¤ãã¦å¥ entry ã«æ¸ãã -> http://d.hatena.ne.jp/janus_wel/20100301/1267397791æ¨æ¥åããã㪠title 㧠entry æ¸ããã ( http://d.hatena.ne.jp/janus_wel/20100221/1266766850 ) comment ã§ãããã¨ãæãã¦ããã£ã ( http://dâ¦
ããã©ããã¤ãã¾ãæãè¦ã¤ããã«ããåé¡ãªã®ã§ã¡ããã¨èå¯ãããã¨åºã¦ããã®ã¯ä»¥ä¸ã® 3 ã¤ãªãã ãã©ã std::string object ã new ã㦠pointer è¿ã std::string ãå¤è¿ã é¢æ°ã function object ã«ãã¦å é¨ã§ std::string ãæã£ã¦ããã¦ãããåç §â¦
redirection ããªãã¤ã¬ã¯ã ( ">" ã§ã¤ãªã㧠file ã«æ¸ãåºã ) 㨠pipeline ããã¤ã ( "|" ã§ã¤ãªãã§ä»ã® command ã«åºåã渡ã ) ã C/C++ ã§æ¤ç¥ããæ¹æ³ã¾ã¨ãã以å使ã£ãè¨æ¶ãããããããæ¹æ³ãã£ãããªã¨æãã¤ã¤æ¢ãããã ãã©è¦ã¤ããã®ã« 2 â¦
basic_istream ã basic_ostream ã®è¦ªã§ãã basic_ios 㯠title ã«æ¸ããé¢æ°ãæã£ã¦ãããããããã¤ã¯ä½ããããã®ãã¨ãã㨠basic_ios object ãä¿æãã¦ãã basic_streambuf object ã® getter / setter ããããã¦ãã¨ã¯åãã£ã¦ãæ¨æºå ¥åºåã«é¢é£â¦
http://d.hatena.ne.jp/janus_wel/20100216/1266347871 ã§ãã£ã¦ã header / footer ãæã£ã binary file ã®èªã¿æ¸ãã® header é¨åããããªæ¹åã§ããçãªæéä½ãã¨ãã¦ã¡ããã¨æ¸ãã¦ã¿ããã¾ã header ãæ±ãããã®æ§é ä½ã®å®ç¾©ã¨æµãè¾¼ãããã® æ¼ç®åâ¦
æè¿ iostream ãããã£ã¦ã¦ä»ããã¤ãæ´¾çãã㦠( ããç¨åº¦ ) 好ã¿ã®ãã®ãä½ããã¨ãåºæ¥ãã¨ãããã¨ãããã£ã¦ãããã ãã©ãã使ã£ã¦ã¿ããã¨ããã¨ãã¼ãããããã¦ããä»çµã¿ã¨ãã¦å¤±æãã¦ã ? ã¨ããç¹ãããã¤ãåºã¦ãããã¨ããããããã®ç解ã¨â¦
ã¡ããã¨ãã£ã¦ã¿ãããã¨ããã£ã¦ C ããã㯠C++ 㧠avs file ãéãã¦ã¢ã¬ã³ã¬ã§ããªãããªã¼ã¨æã£ã¦èª¿ã¹ã¦ã¿ããã¾ãã¾ãª code ã forum ( http://forum.doom9.org/showthread.php?t=131674 ã® IanB æ°ã®çºè¨ http://forum.doom9.org/showthread.php?p=â¦
Final Fantasy series ã¯ããã V ããå ¥ã£ãã¯ã㧠III 㯠NDS ã® remake çã§ã IV 㯠original ã§ãã£ã¦ãããã® ( VI 以é㯠X ã¾ã§ãªã original ã§ãã£ã¦ãã ) ã® I 㨠II 㯠hardware ã®åé¡ããã£ã¦ãã£ã¦ãªãã£ããã ãã©ãã£ã¨æ°ã«ãªã£ã¦ããããâ¦
MinGW + MSYS 㧠gcc4.4.3 ã build ãããã¨ãã¦å¤±æããçµç·¯ã¾ã¨ããã¨ããããæåä¾ã®ãªã platform ( cross compile ã§ã®ç¨èªã§ãããªã build ) ã§ã® gcc ã® build ã¯çåå¯ãªç¥èããç¡çã ã¨ãããã¨ãããã£ãã ãã§ãããªãã®åç©«ã ã£ãã cygwin â¦
åªå¤ªããã®åç» ( http://d.hatena.ne.jp/janus_wel/20100204/1265289507 ) ã encode ããã®ã«ä»ã¾ã§ XviD ã使ã£ã¦ããã ãã©ä¹ ãã¶ã㧠codec ã¾ãããé²åãã¦ããã ããããã£ããã ãã H.264 ã«åãæ¿ãããã¨æã£ã¦ãããããã£ã¦ã¿ãçµæã http://â¦
ãããããåªå¤ªããã®åç»ãä¸ãã¾ãã£ãããããã試ãã¦ã¿ããã ãã© YouTube ã¯ãã以ä¸ã®ç»è³ªã¯ç¾å®çã§ã¯ãªãã£ãæããã¾ã source ã®åç»èªä½ãç²ããã ãã©ãã³ãã³åç»ã¯ãã¡ã㨠source ã«è¿ãæãã«ãªã£ã¦ãã®ã§ YouTube å´ã®åé¡ã ã¨å²ãåã£ãâ¦
MinGW çã 㨠wrapper ãå¿ è¦ã ã£ããå¿ è¦ãª option ããªãã£ããããã®ã§ãã£ã±ã MSYS çã§ãautoconf, automake, libtool ã«é¢ã㦠MinGW çããã£ããã¨ã«æ°ãã¤ããã®ã§ãã£ã¡å´ã«å¤æ´ãããã¨ããçç±ã§ Windows native 㧠GNU make ã®ä½¿ãã compile â¦
done ãçºå£²æ¥ãèããã¨ä»æ´ã ãã©æ°ç´æ°ã director ã ã£ãä¸ç樹ã®è¿·å®® ( SQ ) ã¨åãæãã§éã¹ãã¨ããããã·ãèãã¦ããã®ã§å¿ããªããã¡ã«ãã£ã¦ãã¾ããã¨ããæµãã§ã以ä¸å ¬å¼ ( ãã® web site ã vimp ã§ãä¸èªç±ãªãæä½åºæ¥ãã£ã¦ã®ãå°å³ã«å¾â¦