{"width":"100%","type":"rich","provider_name":"Hatena Blog","title":"C++\u3067\u6587\u5b57\u5217\u3092\u6570\u5024\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5","categories":["C++"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekko1119.hatenablog.com%2Fentry%2F2013%2F08%2F17%2F144722\" title=\"C++\u3067\u6587\u5b57\u5217\u3092\u6570\u5024\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5 - C++\u3068\u8272\u3005\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://nekko1119.hatenablog.com/","url":"https://nekko1119.hatenablog.com/entry/2013/08/17/144722","version":"1.0","height":"190","author_name":"nekko1119","author_url":"https://blog.hatena.ne.jp/nekko1119/","published":"2013-08-17 14:47:22","blog_title":"C++\u3068\u8272\u3005","provider_url":"https://hatena.blog","image_url":null,"description":"\u5143\u30cd\u30bf\u306b\u8f09\u3063\u3066\u3044\u308b\u5909\u63db\u65b9\u6cd5\u3092\u4f7f\u3063\u305f\u30b5\u30f3\u30d7\u30eb\u3092\u66f8\u3044\u3066\u307f\u305f\u3002*1 atoi #include <cstdlib> #include <iostream> #include <string> #include <typeinfo> int main() { const std::string str(\"123\"); auto num = std::atoi(str.c_str()); std::cout << typeid(num).name() << \" : \" << num << std::endl; } strtol #include <cstdlib> #include <iostream>\u2026"}