2007å¹´10æ11æ¥17:30 ã«ãã´ãªTipsLightweight Languages tips - äºé²æ°è¡¨è¨ã¾ã¨ã ããã«ã¤ã³ã¹ãã¤ã¤ããã¦ã C/C++ã§2é²æ°å¤ãè¨è¿° - ãã¾ãããã»ãã ã®ä¸å®è¨ C/C++ã§ã¯ãæ°å¤ãªãã©ã«ã次ã®ããã«ãï¼é²æ°ãï¼ï¼é²æ°ãï¼ï¼é²æ°ã®ä¸éãã§æ¸ã表ããã¨ãåºæ¥ãã int r8 = 01578; /* octal number */ int r10 = 32768; /* decimal number */ int r16 = 0xFFF; /* hexadecimal number */ ããããï¼é²æ°ããããã使ããã¦ããã§ããããï¼é²æ°ã®æ¸ãæ¹ã¯ä»æ§ã«åå¨ããªããããã äºé²æ°â(10,8,16)é²æ°å¤æ by javascript ãèªç±ã«ã使ããã ããã[01]以å¤ã®æåã¯åç´ã«åé¤ãããã®ã§ã'1010_0101'ã®ãããªè¡¨è¨ãé
{{#tags}}- {{label}}
{{/tags}}