{"id":2771,"date":"2013-05-31T13:27:32","date_gmt":"2013-05-31T04:27:32","guid":{"rendered":"http:\/\/pchero21.com\/?p=2771"},"modified":"2013-05-31T13:27:32","modified_gmt":"2013-05-31T04:27:32","slug":"c-int-char-double-%eb%93%b1%eb%93%b1%ec%9d%98-%ec%9e%90%eb%a3%8c%ed%98%95-%ec%82%ac%ec%9d%b4%ec%a6%88","status":"publish","type":"post","link":"http:\/\/pchero21.com\/?p=2771","title":{"rendered":"C++ Int, char, double, \ub4f1\ub4f1\uc758 \uc790\ub8cc\ud615 \uc0ac\uc774\uc988.."},"content":{"rendered":"<p>C++ \uc5d0\uc11c\uc758 \uc790\ub8cc\ud615\uc758 \ud06c\uae30\ub294 \ucef4\ud30c\uc77c\ub7ec\uc5d0 \ub530\ub77c \uc88c\uc6b0\ub41c\ub2e4\uace0 \uc54c\uace0 \uc788\uc5c8\ub2e4.<\/p>\n<p>\ud2c0\ub9b0 \ub0b4\uc6a9\uc740 \uc544\ub2c8\uc600\uc9c0\ub9cc.. \uc815\ud655\ud558\uc9c0\ub294 \uc54a\uc558\ub2e4.<\/p>\n<p>\uc544\ub798 \ub9c1\ud06c\uc5d0\uc11c \uc815\ud655\ud55c \ub0b4\uc6a9\uc744 \uc54c \uc218 \uc788\uc5c8\ub2e4.<\/p>\n<p>\uc815\ud655\ud558\uac8c\ub294&#8230; \ud06c\uae30\ub294 \uc815\ud574\uc838 \uc788\uc9c0 \uc54a\uc9c0\ub9cc, C++ \ud45c\uc900\uc5d0\uc11c \uc9c0\uc815\ud558\ub294 \ucd5c\uc18c \uc0ac\uc774\uc988\uac00 \uc788\ub2e4\ub294 \uac83\uc774\ub2e4.<\/p>\n<blockquote><p>The C++ standard does not specify the size of integral types in bytes, but it specifies minimum ranges they must be able to hold. You can infer minimum size in bits from the required range and the value of <code>CHAR_BIT<\/code> macro, that <a href=\"http:\/\/stackoverflow.com\/questions\/437470\/type-to-use-to-represent-a-byte-in-ansi-c89-90-c\/437640#437640\">defines the number of bits in a byte<\/a> (in all but the most obscure platforms it&#8217;s 8).<\/p><\/blockquote>\n<p>\ucd9c\ucc98 : http:\/\/stackoverflow.com\/questions\/589575\/size-of-int-long-etc<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C++ \uc5d0\uc11c\uc758 \uc790\ub8cc\ud615\uc758 \ud06c\uae30\ub294 \ucef4\ud30c\uc77c\ub7ec\uc5d0 \ub530\ub77c \uc88c\uc6b0\ub41c\ub2e4\uace0 \uc54c\uace0 \uc788\uc5c8\ub2e4. \ud2c0\ub9b0 \ub0b4\uc6a9\uc740 \uc544\ub2c8\uc600\uc9c0\ub9cc.. \uc815\ud655\ud558\uc9c0\ub294 \uc54a\uc558\ub2e4. \uc544\ub798 \ub9c1\ud06c\uc5d0\uc11c \uc815\ud655\ud55c \ub0b4\uc6a9\uc744 \uc54c \uc218 \uc788\uc5c8\ub2e4. \uc815\ud655\ud558\uac8c\ub294&#8230; \ud06c\uae30\ub294 \uc815\ud574\uc838 \uc788\uc9c0 \uc54a\uc9c0\ub9cc, C++ \ud45c\uc900\uc5d0\uc11c \uc9c0\uc815\ud558\ub294 \ucd5c\uc18c \uc0ac\uc774\uc988\uac00 \uc788\ub2e4\ub294 \uac83\uc774\ub2e4. The C++ standard does not specify the &hellip; <a href=\"http:\/\/pchero21.com\/?p=2771\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[128,573,709,791],"_links":{"self":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/2771"}],"collection":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2771"}],"version-history":[{"count":0,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/2771\/revisions"}],"wp:attachment":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2771"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}