{"height":"190","description":"\u305f\u307e\u306b\u306fK&R\u3092\u3002 \u6f14\u7fd2 4-12 itoa\u3092\u518d\u5e30\u3067\u66f8\u3051\u3002\u3068\u3044\u3046\u554f\u984c\u3002\u518d\u5e30\u306b\u6163\u308c\u3066\u308b\u306f\u305a\u306a\u306e\u306b\u3001\u3053\u306e\u554f\u984c\u306f\u30e0\u30ba\u30a3\u3002 int itoa_iter(int n, char s[], int i) { if (n == 0) { s[i] = '\\0'; return i; } else { int tail = itoa_iter(n / 10, s, i + 1); s[tail - i] = '0' + n % 10; return tail; } } int itoa(int n, char s[]) { if (n < 0) { s[0] = '-'; itoa_iter(-n, s, 1\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20071227%2F1198694989\" title=\" K&amp;R\u3092\u8aad\u3082\u3046(43) \u6f14\u7fd2 4-12 itoa\u3092\u518d\u5e30\u3067 - \u30dc\u30af\u30ce\u30b9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2007-12-27 03:49:49","categories":["GCC"],"author_name":"tanakaBox","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/tanakaBox/","url":"https://boxnos.hatenablog.com/entry/20071227/1198694989","version":"1.0","type":"rich","blog_title":"\u30dc\u30af\u30ce\u30b9","provider_name":"Hatena Blog","width":"100%","blog_url":"https://boxnos.hatenablog.com/","image_url":null,"title":" K&R\u3092\u8aad\u3082\u3046(43) \u6f14\u7fd2 4-12 itoa\u3092\u518d\u5e30\u3067"}