â ã奨ããªã³ã¯ Computer Planet ç°¡åãã¤ç°¡æ½ã«ã¾ã¨ãããã¦ãã¾ããC/C++ã¯åãã¦ã¨ããæ¹ã¯ä¸åº¦ã覧ã«ãªããã¨ãã奨ããã¾ãã â åºæ¬çãªãã¼ã¿å int a; // a 㯠-2,147,483,648 ã 2,147,483,647 ã®æ´æ°å¤ char b; // b 㯠-128 ã 127 ã®æ´æ°å¤ãï¼ãã¤ãæå(åè§æå)ãå¯ char c[3]; // c ã¯åè§ã§ï¼æåï¼'\0'(æååãçµãããæå³ããå¤) â if æ¡ä»¶å¤æ 次ã®ä¾ã§ã¯ i ã 1 ã®æã x = a + b ãå®è¡ãããã if ( i == 1) { x = a + b; } if æ㯠ããæ¡ä»¶ãæºããããæºãããªãã㧠if ã®å¾ã® { } ã®éã å®è¡ãããããªããå¤æããã if ã®å¾ã®ä¸è¡ããå®è¡ããªãã®ã§ããã° { } ã¯çç¥ã§ããã if ( i == 1) x = a
{{#tags}}- {{label}}
{{/tags}}