{"id":1878,"date":"2024-04-25T20:29:49","date_gmt":"2024-04-25T12:29:49","guid":{"rendered":"https:\/\/wp.minicoda.com\/?p=1878"},"modified":"2024-11-19T16:44:44","modified_gmt":"2024-11-19T08:44:44","slug":"%e4%b8%b0%e5%af%8c%e5%a4%9a%e5%bd%a9%e7%9a%84%e8%af%ad%e5%8f%a5%e7%bb%93%e6%9d%9f%e7%ac%a6","status":"publish","type":"post","link":"https:\/\/wp.minicoda.com\/index.php\/%e4%b8%b0%e5%af%8c%e5%a4%9a%e5%bd%a9%e7%9a%84%e8%af%ad%e5%8f%a5%e7%bb%93%e6%9d%9f%e7%ac%a6\/","title":{"rendered":"\u4e30\u5bcc\u591a\u5f69\u7684\u8bed\u53e5\u7ed3\u675f\u7b26\u6216\u5206\u9694\u7b26"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>C\/C++\/ObjC\/Java\/C#\/Pascal\/PHP \u7b49\u8bed\u8a00\u7528\u5206\u53f7\u5206\u9694\u3002<\/li>\n\n\n\n<li>Basic\/Python\u7528\u6362\u884c\u5206\u9694\u3002<\/li>\n\n\n\n<li>SQL\u8bed\u8a00\u65e2\u53ef\u4ee5\u7528\u6362\u884c\u4e5f\u53ef\u4ee5\u7528\u5206\u53f7\uff0c\u5728\u4e0d\u540c\u8bed\u53e5\u5728\u540c\u4e00\u884c\u65f6\u7528\u5206\u53f7\uff0c\u4e5f\u652f\u6301\u66f4\u6539\u8bed\u53e5\u5206\u9694\u7b26\u3002<\/li>\n\n\n\n<li>Swift\/JavaScript\/Go\/\u4ed3\u9889\/Kotlin \u7ed3\u675f\u7b26\u65e2\u53ef\u7528\u6362\u884c\uff0c\u4e5f\u53ef\u7528\u5206\u53f7\u3002<br>  \u540c\u4e00\u884c\u5199\u591a\u4e2a\u8bed\u53e5\uff0c\u7528\u5206\u53f7\u5206\u9694\u3002<\/li>\n\n\n\n<li>VB\u91c7\u7528\u6362\u884c\u6216\u8005\u5192\u53f7:\u4f5c\u4e3a\u7ed3\u675f\u7b26\uff0c\u4e0b\u5212\u7ebf_\u4f5c\u4e3a\u7eed\u884c\u7b26\uff0cVBScript\u548cVB\u4e00\u6837\u3002\n<ul class=\"wp-block-list\">\n<li>VB 2010\u4e4b\u540e\uff0c\u884c\u7eed\u884c\u7b26\u9010\u6e10\u53d8\u5f97\u53ef\u9009\uff0c\u5373\u7f16\u8bd1\u5668\u66f4\u52a0\u667a\u80fd\uff0c\u5e76\u4e0d\u662f\u76f4\u63a5\u4ee5\u6362\u884c\u4f5c\u4e3a\u8bed\u53e5\u7684\u7ed3\u675f\uff0c\u53ef\u4ee5\u66f4\u61c2\u7a0b\u5e8f\u5458\u7684\u4ee3\u7801\u3002<\/li>\n\n\n\n<li>\u540c\u4e00\u884c\u6709\u591a\u4e2a\u8bed\u53e5\uff0c\u7528\u5192\u53f7\u4f5c\u4e3a\u8bed\u53e5\u5206\u9694\u7b26\u3002\u7528\u4e0b\u5212\u7ebf\u7eed\u884c\u4ee3\u8868\u4e0a\u4e0b\u884c\u5c5e\u4e8e\u540c\u4e00\u4e2a\u8bed\u53e5\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Rust\u8bed\u53e5\u7ed3\u675f\u7b26\u662f\u5206\u53f7\uff0c\u5982\u679c\u662f\u5757\u8bed\u53e5\u6700\u540e\u4e00\u4e2a\u8bed\u53e5\u53ef\u4ee5\u5ffd\u7565\u5206\u53f7\u3002<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8bef\u7528\u5206\u53f7<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>C\u8bed\u8a00\u5206\u53f7\u4f5c\u4e3a\u8bed\u53e5\u7684\u7ed3\u675f\uff0c\u5982\u679c\u8bef\u7528\u5728if\u3001for\u548cwhile\u6761\u4ef6\u8bed\u53e5\u4e4b\u540e\uff0c\u53ef\u80fd\u9020\u6210\u63d0\u524d\u7ed3\u675f\u3002<br>\u4f8b\u5982 <br>if (x == 1);<br>    printf(\"is 1\");<br>\u8fd9\u91ccif\u5224\u65ad\u8fd9\u884c\u5c31\u5df2\u7ecf\u7ed3\u675f\u4e86\u3002\u5e78\u8fd0\u7684\u662f\uff0cGCC\u63d0\u4f9b-Wmisleading-indentation\u9009\u9879\u68c0\u6d4b\u8fd9\u6837\u7684\u95ee\u9898\u3002<br><br>if (a &lt; 0)<br>    return<br>printf(\"fail\");<br>\u8fd9\u91ccreturn\u8bed\u53e5\u548c\u540e\u9762\u7684printf\u662f\u8fde\u5728\u4e00\u8d77\u4f5c\u4e3a\u4e00\u4e2a\u8bed\u53e5\u3002\u53ef\u60dc\u7684\u662f\uff0cGCC\/MSVC\u6253\u5f00-Wall\u4e5f\u4e0d\u80fd\u63d0\u793a\u53ef\u80fd\u7684\u9690\u60a3\u3002<\/li>\n\n\n\n<li>C\/C++ \u7ed3\u6784\u4f53\u5b9a\u4e49\u7684\u6700\u540e\u9700\u8981\u6709\u5206\u53f7\uff0c\u4e60\u60ef\u5199C#\/Java\u7c7b\u5b9a\u4e49\u53ef\u80fd\u5fd8\u8bb0\u8fd9\u4e2a\u8bbe\u5b9a\uff0c\u9020\u6210\u5947\u602a\u7684\u7f16\u8bd1\u7ed3\u679c\u3002\u6bd4\u5982\uff0c\u5fd8\u8bb0\u4e86\u5206\u53f7\uff0c\u7ed3\u6784\u4f53\u5b9a\u4e49\u88ab\u5f53\u6210\u4e86\u4e00\u4e2a\u7c7b\u578b\u4f5c\u4e3a\u8fd4\u56de\u503c\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u8bef\u7528\u5206\u53f7<\/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-1878","post","type-post","status-publish","format-standard","hentry","category-think"],"views":88,"_links":{"self":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1878","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=1878"}],"version-history":[{"count":14,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1878\/revisions"}],"predecessor-version":[{"id":3431,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/1878\/revisions\/3431"}],"wp:attachment":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/media?parent=1878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/categories?post=1878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/tags?post=1878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}