{"id":1291,"date":"2024-03-30T22:31:47","date_gmt":"2024-03-30T14:31:47","guid":{"rendered":"https:\/\/wp.minicoda.com\/?p=1291"},"modified":"2024-03-31T09:07:07","modified_gmt":"2024-03-31T01:07:07","slug":"gcc-1-c%e5%92%8cg-1-c%e6%9c%89%e4%bb%80%e4%b9%88%e5%8c%ba%e5%88%ab","status":"publish","type":"post","link":"https:\/\/wp.minicoda.com\/index.php\/gcc-1-c%e5%92%8cg-1-c%e6%9c%89%e4%bb%80%e4%b9%88%e5%8c%ba%e5%88%ab\/","title":{"rendered":"gcc 1.c\u548cg++ 1.c\u6709\u4ec0\u4e48\u533a\u522b?"},"content":{"rendered":"\n<p>\u5148\u5047\u8bbe1.c\u53ea\u6709C\u8bed\u8a00\u8bed\u6cd5\uff0c\u4e0d\u6d89\u53caC++\u8bed\u6cd5\uff0c\u6211\u4eec\u5229\u7528-E\/-S\u6307\u4ee4\u5bf9\u6bd4\u4e8c\u8005\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u7684\u5dee\u5f02\u3002<\/p>\n\n\n\n<p>Based on gcc 11.4.0 and g++ 11.4.0.<br><\/p>\n\n\n\n<p>#include &lt;stdio.h&gt;<\/p>\n\n\n\n<p>int main()<\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; short a = 100;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; printf(\"%d\", a);<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; return 1;<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9884\u5904\u7406\uff1a\u5dee\u5f02\u5728\u5934\u6587\u4ef6\u5305\u542b\uff0cg++\u9ed8\u8ba4\u591a\u5b9a\u4e49__cplusplus\u548c_GNU_SOURCE\uff0c\u5934\u6587\u4ef6\u7684\u51fd\u6570\u58f0\u660e\u4f1a\u591aextern \"C\"\u6807\u5fd7\uff0c\u53e6\u5916\u6253\u5f00\u4e86GNU\u66f4\u591afeatures.<br>\u8be6\u7ec6\u53c2\u89c1\uff1a<a href=\"https:\/\/wp.minicoda.com\/index.php\/gcc-1-c%e5%92%8cg-1-c%e9%a2%84%e5%a4%84%e7%90%86%e6%9c%89%e4%bb%80%e4%b9%88%e5%8c%ba%e5%88%ab\/\">gcc 1.c\u548cg++ 1.c\u9884\u5904\u7406\u6709\u4ec0\u4e48\u533a\u522b?<\/a><\/li>\n\n\n\n<li>\u7f16\u8bd1\/\u6c47\u7f16\/\u94fe\u63a5\uff1a\u5747\u65e0\u5dee\u5f02\uff0c\u53c2\u89c1\uff1a<a href=\"https:\/\/wp.minicoda.com\/index.php\/gcc-1-c%e5%92%8cg-1-c%e7%bc%96%e8%af%91%e9%98%b6%e6%ae%b5%e6%9c%89%e4%bb%80%e4%b9%88%e5%8c%ba%e5%88%ab\/\">gcc 1.c\u548cg++ 1.c\u7f16\u8bd1\u9636\u6bb5\u6709\u4ec0\u4e48\u533a\u522b?<\/a><br><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u5047\u8bbe1.c\u53ea\u6709C\u8bed\u8a00\u8bed\u6cd5\uff0c\u4e0d\u6d89\u53caC++\u8bed\u6cd5\uff0c\u6211\u4eec\u5229\u7528-E\/-S\u6307\u4ee4\u5bf9\u6bd4\u4e8c\u8005\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u7684\u5dee\u5f02\u3002 Based on gcc 11.4.0 and g++ 11.4.0. #include &lt;std&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[299],"tags":[],"class_list":["post-1291","post","type-post","status-publish","format-standard","hentry","category-think"],"views":98,"_links":{"self":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/comments?post=1291"}],"version-history":[{"count":6,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1291\/revisions"}],"predecessor-version":[{"id":1324,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1291\/revisions\/1324"}],"wp:attachment":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/media?parent=1291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/categories?post=1291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/tags?post=1291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}