{"id":1961,"date":"2017-03-26T18:09:34","date_gmt":"2017-03-26T09:09:34","guid":{"rendered":"http:\/\/blog.4star.link\/?p=1961"},"modified":"2017-03-26T18:15:14","modified_gmt":"2017-03-26T09:15:14","slug":"cocos2d-xc-%e3%81%a7%e3%80%81int%e6%95%b4%e6%95%b0%e3%82%92string%e6%96%87%e5%ad%97%e5%88%97%e3%81%ab%e5%a4%89%e6%8f%9b","status":"publish","type":"post","link":"https:\/\/blog.4star.link\/?p=1961","title":{"rendered":"cocos2d-x(c++) \u3067\u3001int(\u6574\u6570)\u3092string(\u6587\u5b57\u5217)\u306b\u5909\u63db"},"content":{"rendered":"<h2>cocos2d-x(c++) \u3067\u3001int\u3092string(\u6587\u5b57\u5217)\u306b\u5909\u63db<\/h2>\n<blockquote>\n<p>\u74b0\u5883 cocos2d-x 3.14(c++)<\/p>\n<\/blockquote>\n<h3><strong>StringUtils::toString()<\/strong>\u3067\u3001<strong>int<\/strong>\u578b\u304b\u3089<strong>string<\/strong>\u578b\u306b\u5909\u63db\u3067\u304d\u308b\u3002<\/h3>\n<pre><code>int hogeInt = 123;\nstring hogeStr = StringUtils::toString(hogeInt);\n\n<\/code><\/pre>\n<h3>\u3067\u3001\u4e0b\u8a18\u3067\u3082\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001android\u3067\u30d3\u30eb\u30c9\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u3067\u3001<br \/>\u4e0b\u8a18\u3092\u4f7f\u3046\u5834\u5408\u306f\u3054\u6ce8\u610f\u3092\u3002<\/h3>\n<pre><code><br \/>string hogeStr = std::to_string(123);\n\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>cocos2d-x(c++) \u3067\u3001int\u3092string(\u6587\u5b57\u5217)\u306b\u5909\u63db \u74b0\u5883 cocos2d-x 3.14(c++) StringUtils::toString()\u3067\u3001int\u578b\u304b\u3089string\u578b\u306b\u5909\u63db\u3067\u304d\u308b\u3002 int h &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.4star.link\/?p=1961\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;cocos2d-x(c++) \u3067\u3001int(\u6574\u6570)\u3092string(\u6587\u5b57\u5217)\u306b\u5909\u63db&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,265,234,255],"tags":[17,267,266],"class_list":["post-1961","post","type-post","status-publish","format-standard","hentry","category-android","category-ios","category-234","category-255","tag-android-2","tag-cocos2d-x","tag-ios"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/posts\/1961"}],"collection":[{"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.4star.link\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1961"}],"version-history":[{"count":4,"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/posts\/1961\/revisions"}],"predecessor-version":[{"id":1965,"href":"https:\/\/blog.4star.link\/index.php?rest_route=\/wp\/v2\/posts\/1961\/revisions\/1965"}],"wp:attachment":[{"href":"https:\/\/blog.4star.link\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.4star.link\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.4star.link\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}