iPhone ã¢ããªã®éçºã«ã¯ãã³ã³ãã¤ã©ã¨ã㦠gcc 以å¤ã使ããã¨ã¯åºæ¬çã«ããã¾ããã ãããã£ã¦ãgcc ã«å®è£ ããã¦ãã C99 ä»æ§ã gcc æ¡å¼µä»æ§ãæ°ãããããã¨ãªãå©ç¨ãããã¨ãã§ãã¾ãã ããã§ã¯ã便å©ãª C99 ä»æ§ã gcc æ¡å¼µãç´¹ä»ãã¾ãã é åã®åçç¢ºä¿ (C99) é åãå®ç¾©ããã¨ãã«ãåçã«ãµã¤ãºãæå®ãã¦ã¡ã¢ãªã確ä¿ãããã¨ãã§ãã¾ãã å¾æ¥ã¯ã int n = 100; char* buf = alloca(n); ã®ããã« alloca ã使ã£ã¦ããã¨ãããã int n = 100; char buf[n]; ã¨ãè¨èªä»æ§ã®ç¯å²å ã§ãããç´è¦³çã«æ¸ããããã«ãªãã¾ããã case ã®ç¯å²æå® (gcc æ¡å¼µ) å¾æ¥ãswitch ã case 㧠switch (n) { case 0: case 1: case 2: case 3: proc
{{#tags}}- {{label}}
{{/tags}}