2013-01-01ãã1å¹´éã®è¨äºä¸è¦§
2013å¹´ã®ãã¡ã«ã2013å¹´ã®ãµããããããã¦ããã ç®æ¨ 1æã«ãï¼æèçã«ããããã¯ã»ã¨ãã©ç¡æèã«ï¼ç®æ¨ã3ã¤ã°ããç«ã¦ãã çãã è´ãçãªçæ´»ããã 人çã®ã¿ã¼ãã³ã°ãã¤ã³ããè¿ãã 以ä¸ã«ããããã®éæ度ã¨ãéæãè¨ãã çãã éæ度ï¼100% â¦
ããã°ã¿ã¤ãã«ãå¤æ´ãã¾ããã æ§ï¼C++ããã°ã©ããJavaãå¦ã¶æ¥è¨ æ°ï¼ãã®å½ã§ã¯ç¬ãã³ã¼ããæ¸ãã¦ãã¾ã ãªãã§å¤ããã®ï¼ C++ããã°ã©ãã Java ãå¦ã¶ã ãã®æ¥è¨ãããªããªãããã ããã§ãã ãªãã§ç¬ãªã®ï¼ ç¬ãã¨ã£ã¦ã好ãã ããã§ãã ãªãã§ãâ¦
第24ç« å½éåã¨ãã¼ã«ãªã¼ã¼ã·ã§ã³ 第25ç« æ¨æºããã±ã¼ã¸ ãèªã¿ã¾ããã 第24ç« å½éåã¨ãã¼ã«ãªã¼ã¼ã·ã§ã³ æ¥ããããªãããããã±ã¼ã«ãã¨ããè¨èã®æ£ããæå³ãåãã¦ç¥ãã¾ããã ãã±ã¼ã«ã¯ããå ´æããå®ç¾©ãã¾ããå ´æã¯ãè¨èªãæåãå½ãªã©ã®â¦
第22ç« ãã®ä»ã®ã¦ã¼ãã£ãªã㣠第23ç« ã·ã¹ãã ããã°ã©ãã³ã° ãèªã¿ã¾ããã Formatterã«ã¤ãã¦å²ã¨ãã£ããã¾ã¨ãããã¦ããã®ã¯å¬ããã Cã®printfã®æ¸å¼ãæªã ã«è³å ã§æ´çã§ãã¦ãªãã®ã§â¦â¦ãé çªã¨ããããå¿ãã¾ããããï¼Javaã§ã¯ï¼ããã§ããã %[â¦
é·å¹´ã®çåããããã解æ¶ãããæ°ãããã®ã§ãè¨å¿µã¨ã³ããªã ããã£ã¦ãã人ã«ã¯ãã§ã¯ãªããã¦è¨ããã¦ããããããããªã®ã§ã¯ï¼ãã¨ããæãã ã¨æãã¾ãããã容赦ãã ããã ãã¶ã¤ã³ãã¿ã¼ã³ï¼ã¨ãããããªãã¸ã§ã¯ãæåè¨è¨ï¼ã®ãã£ããç解ãåå â¦
第20ç« I/Oããã±ã¼ã¸ 第21ç« ã³ã¬ã¯ã·ã§ã³ ãèªã¿ã¾ããã ã¹ããªã¼ã ã¨ãããã¤ãããªããªããã¨ãããããã¨ãã¿ã*1ã å®ã«40ãè¶ ããã¯ã©ã¹ã御ç»å ´ããã°ãããâ¦â¦ããããå¼å¥ã§ãã¦ãã¾ããã ãã¤ãã¨æåãå ¥åã¨åºåããããã¡ããã£ã«ã¿ããã¤ãâ¦â¦
第18ç« ããã±ã¼ã¸ 第19ç« ããã¥ã¡ã³ãã¼ã·ã§ã³ã³ã¡ã³ã ãèªã¿ã¾ããã ãã®è¾ºã¯ããã«ãJavaãªãã§ã¯ã®è©±é¡ãªã®ã§ãJavaããã°ã©ãã«è¿ã¥ããæ°ããã¦å¬ããã ã©ã¡ãã®ä½¿ãæ¹ããã¾ãã²ã¨éãã¯ããã£ãæ°ããã¾ããéç¨ã®ä»æ¹ã¯ããã¸ã§ã¯ã次第ã¨ããâ¦
ãèªã¿ã¾ããã éæï¼finalizeã¯å½¹ã«ç«ããªã finelizeã¡ã½ããã¯ããªãã¸ã§ã¯ããåã³åç §ãããããã«ãããã¨ã§ããªãã¸ã§ã¯ãã復活ããããã¨ãã§ãã¾ãã ã¦ã±ãã GCã«ã¤ãã¦ã¯ãå端ã«æãåºããã®ãããªãã¨æã£ã¦ããã©ããã¡ã¢ãªãã£ã±ã使ãåâ¦
ãèªã¿ã¾ããã ãªãã¬ã¯ã·ã§ã³å¨ãã®ã¯ã©ã¹å³ãè¤éããã§ã¯â¦â¦ã14åã®ã¯ã©ã¹ã»ã¤ã³ã¿ãã§ã¼ã¹ãåºã¦ãã¦ãç¶æ¿ã»å®ç¾é¢ä¿ã®ç¢å°ã17æ¬ã伸ã³ã¦ããã ç¹ã«Typeå¨ãï¼TypeãParameterizedTypeãGenericArrayTypeãTypeVariable<D>ãWildCardTypeãClassï¼ãã</d>â¦
ãèªã¿ã¾ããã 第13ç« æååã¨æ£è¦è¡¨ç¾ 第14ç« ã¹ã¬ãã 第15ç« ã¢ããã¼ã·ã§ã³ ããããC++03ã«ã¯ãªãã£ãæ©è½ã§ãã¦ãã¦ãã§ããããã楽ãããªã£ã¦ãããï¼ã¾ãæ£è¦è¡¨ç¾ã¨ã¹ã¬ããã®ãµãã¼ãã¯C++11ããã¯ããã®ã§ããã使ã£ããã¨ãªãããæ¯è¼ãããã»â¦
ãèªã¿ã¾ããã 第9ç« æ¼ç®åã¨å¼ 第10ç« å¶å¾¡ã®æµã 第11ç« ã¸ã§ããªãã¯å 第12ç« ä¾å¤ã¨ã¢ãµã¼ã·ã§ã³ 第11ç« ä»¥å¤ã¯ãç´°é¨ãé¤ãã°æãã®ã»ãC++ã«è¿ããªã¨ããå°è±¡ã ããã¦ãfinallyã¯ãã£ã±æ £ããªããªã¼ã 第11ç« ã¯ã1åèªãã ç¾æç¹ã§ã¯ã3åã®1ãããâ¦
ããã ãéãã¦ãã¾ãã¾ããï¼ åã¨ãã¦ã®åºæ¬ãã¼ã¿åã ã¸ããªç« é¡â¦â¦ã 8.1 å ±éã®ãã£ã¼ã«ãã¨ã¡ã½ãã 8.1.1 çæ ããªããã£ãåã®ã©ããã¼ã¯ã©ã¹ã¯ããããå ã¿è¾¼ãã§ããåºæ¬ãã¼ã¿åã®å¤ã«å¯¾ããä¸å¤ãªãã¸ã§ã¯ããå®ç¾©ããã ãã®ã¯ã©ã¹ãã©ãããâ¦
7.1 åå¥è¦ç´ 7.1.1 æåã»ãã C++å«ããå¤ãã®è¨èªã®æåã³ã¼ãã¯ASCIIãªããEBCDICã ããJavaã¯UTF-16ã 7.1.2 ã³ã¡ã³ã ã³ã¡ã³ãã®ãã¹ãã¯ã§ããªããããã¦ãããªããã»ããµãã¯ãããªãã®ã§ã# if 0ã使ããªããif (false) ã¦â¦â¦ãã¾ããIDEã使ã£ã¦ãâ¦
ããããenumã ããã°ã©ãã³ã°è¨èªã«ãã£ã¦ã¯ãenumã¯ååä»ãæ´æ°å¤ã®éã¾ãã«éããªãã§ãããããã°ã©ãã³ã°è¨èªJavaã§ã¯ãç¹æ®ãªç¨®é¡ã®ã¯ã©ã¹ã§ãããenumã®åã ã®å¤ã表ãã¤ã³ã¹ã¿ã³ã¹ãæã£ã¦ãã¾ãã ãããå¾ ã£ã¦ããï¼ 6.1 ç°¡åãªenumã®ä¾ Javaã®eâ¦
ãã¹ãããã¯ã©ã¹ã¨ã¤ã³ã¿ãã§ã¼ã¹ã ãã¹ãããåã¯ãï¼ä¸ç¥ï¼ãäºãã®ãã¹ã¦ã®ã¡ã³ãã¼ã«ã¢ã¯ã»ã¹ã§ããä¿¡é ¼é¢ä¿ãå ±æãã¦ãã¾ãã ããã«ãå¼·åãªä¿¡é ¼é¢ä¿ãããã 5.1 staticã®ãã¹ãããå 5.1.1 staticã®ãã¹ãããã¯ã©ã¹ 5.1.2 ãã¹ãããã¤ã³ã¿ãã§â¦
ã¡ãã£ã¨ããã ãããã¾ããã ã¤ã³ã¿ãã§ã¼ã¹ï¼ ãªãã¸ã§ã¯ãæåè¨è¨ã®åºæ¬çãªåä½ã§ããã¨ããã®åããã®ç´ç²ãªåãå®ç¾©ããã®ãã¤ã³ã¿ãã§ã¼ã¹ã¨ã®ç±ã 4.1 ç°¡åãªã¤ã³ã¿ãã§ã¼ã¹ã®ä¾ ã¤ã³ã¿ãã§ã¼ã¹ã¯ãã§ããï¼-ableï¼ãã¨ãã表ç¾ãããã¨ãå¤ãã â¦
é¢ç½ããªã£ã¦ããã第3ç« ã ç¶æ¿ã«ã¯2種é¡ãããã å¥ç´ãããã¯åã®ç¶æ¿ å®è£ ã®ç¶æ¿ 2. ã ããç®çãªããç¶æ¿ã§ã¯ãªãã³ã³ãã¸ã·ã§ã³ã転éã使ç¨ãã¹ããã ã¨æãã 3.1 æ¡å¼µããã¯ã©ã¹ ObjectâAttrâColorAttrã¨ããä¾ã 3.2 æ¡å¼µããã¯ã©ã¹ã®ã³ã³ã¹ãã©ã¯â¦
ãµã¨ãããã£ããã§ãçµå浩ããã®æ¥è¨ã®éå»è¨äºãç®ã«çã¾ãã åå¼·æ¥è¨ã®æ¸ãæ¹ - çµå浩ã®æ¥è¨ è¨äºã§ã¯ããåå¼·æ¥è¨ãæ¸ãã¨ãã®ã³ããã¨ãã¦ã以ä¸ã®3ã¤ãæãããã¦ããã ãå½ããåããæ¸ãã èªåããèªã¾ãªãã¦ããä¸å¯§ã«æ¸ãã ãåãããªãããâ¦
ãã®ãã¼ã¹ã ã¨èªã¿çµããã®ã«åå¹´ãããã ãã°ãã 第2ç« ã èå³æ·±ãããã°ã©ã ã¯ãã»ã¨ãã©ãããªãã¸ã§ã¯ããçæãã¦æä½ãã¾ãã ãããªãè¨ãåãã£ã·ãããããã 2.1 ç°¡åãªã¯ã©ã¹ 2.1.1 ã¯ã©ã¹ã®ã¡ã³ãã¼ ã¯ã©ã¹ã¯3種é¡ã®ã¡ã³ãã¼ãæã¤ãã¨ãã§ãâ¦
æ°ãåãç´ãã¦ãããã°ã©ãã³ã°è¨èªJavaãèªãã åºæ¬çã«C++ã®çµé¨ããã¼ã¹ã«èªãã§ãæ°ã«ãªã£ãã¨ãã¨ãæ°ã¥ãããã¨ãã¤ã¾ãã§è¨é²ãã¦ããæãã«ãããã¨æã£ã¦ããã 1.1 ããã¯ãããã ã¯ã©ã¹ãã¤ã³ã¹ã¿ã³ã¹ããªãã¸ã§ã¯ããã¡ã³ãã¨ãã£ãç¨èªã«ã¤â¦
2ã¨ã³ããªç®ã§æ©ããJavaã®è©±ãããªããããã°ã©ãã³ã°ã®è©±ã§ãããªãã é¤è天å½å転å°ã«è¡ã£ã¦ããã Reversible Destiny!ï¼è¨ãåãæãããã¼ãã£ãããï¼ é¤è天å½å転å°ã¯ãã¢ã¼ãã£ã¹ãèå·ä¿®ä½ã¨è©©äººãããªã³ã»ã®ã³ãºã®å ±åããã¸ã§ã¯ãã§ãå ¬åã®å ¨â¦
C++ããã°ã©ãã®enkã§ãã Javaãå¦ã³ã¾ãã ç°¡åã«èªå·±ç´¹ä»ã C++çµé¨ã¯æ¥åã§2å¹´ã¡ãããã§ãBoostãC++11ã使ã£ã¦ãªãã®ã§ãC++erãåä¹ãã«ã¯ç¨é ããJavaã¯4å¹´ãããåã«çµå浩ããã®å ¥éæ¸ï¼ä¸ä¸å·»ï¼ãèªãã ã£ãããªã®ã§ãå®è³ªå ¥éè ã§ãã ã¨ãããâ¦