{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fneineigh.hatenablog.com%2Fentry%2F2013%2F10%2F17%2F030223\" title=\"sprintf()\u3068snprintf()\u306e\u9055\u3044\uff08\uff1f\uff09 - NeiNeigh&#39;s blog\" 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/NeiNeigh/","height":"190","description":"\u4e21\u8005\u306e\u9055\u3044\u3067\u3050\u3050\u308b\u3068\uff0csnprintf()\u306a\u3089\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u3092\u9632\u3052\u308b\u3088\u3063\u3066\u3053\u3068\u304c\u66f8\u3044\u3066\u3042\u308b\u30da\u30fc\u30b8\u304c\u591a\u3044\uff0e\u3067\u3082\uff0c\u4f7f\u3063\u3066\u305f\u3089\u3053\u3093\u306a\u9055\u3044\u3082\u3042\u3063\u305f\u3089\u30e1\u30e2\u3059\u308b\uff0e \u30b3\u30e1\u30f3\u30c8\u3067\u3053\u306e\u8a18\u4e8b\u306b\u5bfe\u3059\u308b\u6307\u6458\u3092\u9802\u304d\u307e\u3057\u305f\uff0e \u3053\u306e\u554f\u984c\u306f\u89e3\u6c7a\u6e08\u307f\u3067\u3059\uff0e\u30b3\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\uff0e \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 \u3068\u308a\u3042\u3048\u305a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u3053\u308c\uff0e #include <stdio.h> #include <stdint.h> int main(){ char str[128]; uint64_t uint64 = 100; str[0] = '\\0'; sprintf(str, \"%llo\", (unsigned long long)uin\u2026","published":"2013-10-17 03:02:23","type":"rich","blog_title":"NeiNeigh's blog","image_url":null,"author_name":"NeiNeigh","url":"https://neineigh.hatenablog.com/entry/2013/10/17/030223","title":"sprintf()\u3068snprintf()\u306e\u9055\u3044\uff08\uff1f\uff09","categories":["C\u8a00\u8a9e","\u958b\u767a"],"version":"1.0","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","width":"100%","blog_url":"https://neineigh.hatenablog.com/"}