{"author_name":"tanakaBox","url":"https://boxnos.hatenablog.com/entry/20070811/1186824854","version":"1.0","blog_title":"\u30dc\u30af\u30ce\u30b9","title":" K&R\u3092\u8aad\u3082\u3046(25) atoi\u3068lower\u306e\u5199\u7d4c\u3002","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070811%2F1186824854\" title=\" K&amp;R\u3092\u8aad\u3082\u3046(25) atoi\u3068lower\u306e\u5199\u7d4c\u3002 - \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>","author_url":"https://blog.hatena.ne.jp/tanakaBox/","categories":["GCC"],"provider_url":"https://hatena.blog","height":"190","type":"rich","blog_url":"https://boxnos.hatenablog.com/","description":"K&R\u3092\u5199\u7d4c\u3057\u3088\u3046\u3002\u4eca\u56de\u306fatoi\u3068lower\u3002\u6587\u5b57\u5217\u6f14\u7b97\u304c\u51fa\u3066\u304d\u305f\u306e\u3067\u3001rot13(\u30b7\u30fc\u30b6\u30fc\u6697\u53f7)\u3082\u8ffd\u52a0\u3057\u3066\u307f\u305f\u3002 #include <stdio.h> #include <stdlib.h> int atoi_copy(char *s) { int i, n = 0; for (i = 0; isdigit(*(s + i)); i++) n = 10 * n + (*(s + i) - '0'); return n; } int lower(int c) { if ('A' <= c && c <= 'Z') c = c + 'a' - 'A'; return c; } int rot1\u2026","width":"100%","provider_name":"Hatena Blog","published":"2007-08-11 18:34:14"}