{"id":5184,"date":"2022-04-18T19:04:30","date_gmt":"2022-04-18T10:04:30","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=5184"},"modified":"2022-04-20T06:13:25","modified_gmt":"2022-04-19T21:13:25","slug":"%ef%bc%98%e9%80%b2%e6%95%b0%e3%83%aa%e3%83%86%e3%83%a9%e3%83%ab","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/5184","title":{"rendered":"\uff18\u9032\u6570\u30ea\u30c6\u30e9\u30eb"},"content":{"rendered":"<h3>C\u8a00\u8a9e, C++<\/h3>\n<p>\u6570\u5024\u306e\u5148\u982d\u306b <code>0<\/code> \u3092\u3064\u3051\u308b\u3002<br \/>\n<code>0<\/code> \u3082 8\u9032\u6570\u30ea\u30c6\u30e9\u30eb \u3067\u3042\u308b\u3002<\/p>\n<p><!--more--><\/p>\n<h3>Java<\/h3>\n<p>\u6570\u5024\u306e\u5148\u982d\u306b <code>0<\/code> \u307e\u305f\u306f <code>0_<\/code> \u3092\u3064\u3051\u308b\u3002<br \/>\n<code>0<\/code> \u306f 10\u9032\u6570\u30ea\u30c6\u30e9\u30eb \u3067\u3042\u308b\u3002<\/p>\n<h3>JavaScript<\/h3>\n<p>\u6570\u5024\u306e\u5148\u982d\u306b <code>0<\/code> \u307e\u305f\u306f <code>0_<\/code> <code>0o<\/code> \u3092\u3064\u3051\u308b\u3002<br \/>\n<code>0<\/code> \u306f 10\u9032\u6570\u30ea\u30c6\u30e9\u30eb \u3067\u3042\u308b\u3002<\/p>\n<p><h3>Ruby<\/h3>\n<p>\u6570\u5024\u306e\u5148\u982d\u306b <code>0<\/code> \u307e\u305f\u306f <code>0_<\/code> \u307e\u305f\u306f <code>0o<\/code> \u307e\u305f\u306f <code>0O<\/code> \u3092\u3064\u3051\u308b\u3002<br \/>\n<code>0<\/code> \u306f 10\u9032\u6570\u30ea\u30c6\u30e9\u30eb \u3067\u3042\u308b\u3002<\/p>\n<p><h3>VBA<\/h3>\n<p>\u6570\u5024\u306e\u5148\u982d\u306b <code>&O<\/code> \u3092\u3064\u3051\u308b\u3002<\/p>\n<h3>Python<\/h3>\n<p>\u6570\u5024\u306e\u5148\u982d\u306b <code>0o<\/code> \u3092\u3064\u3051\u308b\u3002<br \/>\n<code>0<\/code> \u306f 10\u9032\u6570\u30ea\u30c6\u30e9\u30eb \u3067\u3042\u308b\u3002<br \/>\n<code>0101<\/code> \u3068\u3044\u3063\u305f\u8a18\u8ff0\u306f\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u30fb\u30a8\u30e9\u30fc\u3068\u306a\u308b\u3002<\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >print(010)\r\n        ^\r\nSyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers<\/pre>\n<h3>C#, Kotlin<\/h3>\n<p>8\u9032\u6570\u30ea\u30c6\u30e9\u30eb\u306f\u306a\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C\u8a00\u8a9e, C++ \u6570\u5024\u306e\u5148\u982d\u306b 0 \u3092\u3064\u3051\u308b\u3002 0 \u3082 8\u9032\u6570\u30ea\u30c6\u30e9\u30eb \u3067\u3042\u308b\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-5184","post","type-post","status-publish","format-standard","hentry","category-memo"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=5184"}],"version-history":[{"count":25,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5184\/revisions"}],"predecessor-version":[{"id":5211,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/5184\/revisions\/5211"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=5184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=5184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=5184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}