{"id":20887,"date":"2024-11-19T10:03:31","date_gmt":"2024-11-19T02:03:31","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20887\/"},"modified":"2024-11-19T10:03:31","modified_gmt":"2024-11-19T02:03:31","slug":"notepad%e6%80%8e%e4%b9%88%e7%bc%96%e8%af%91%e8%bf%90%e8%a1%8c-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20887\/","title":{"rendered":"notepad++\u600e\u4e48\u7f16\u8bd1\u8fd0\u884c"},"content":{"rendered":"<blockquote><p>\n  \u901a\u8fc7\u5b89\u88c5\u201ccompiler plugins\u201d\u63d2\u4ef6\uff0cnotepad++\u53ef\u4ee5\u5b9e\u73b0\u7f16\u8bd1\u548c\u8fd0\u884c\u4ee3\u7801\u7684\u529f\u80fd\uff0c\u6b65\u9aa4\u5982\u4e0b\uff1a\u5b89\u88c5\u63d2\u4ef6\u3002\u914d\u7f6e\u7f16\u8bd1\u5668\u3002\u521b\u5efa\u4ee3\u7801\u6587\u4ef6\u3002\u7f16\u8bd1\u4ee3\u7801\u3002\u8fd0\u884c\u4ee3\u7801\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/08\/2024040804122613830.jpg\" class=\"aligncenter\" title=\"notepad++\u600e\u4e48\u7f16\u8bd1\u8fd0\u884c\u63d2\u56fe\" alt=\"notepad++\u600e\u4e48\u7f16\u8bd1\u8fd0\u884c\u63d2\u56fe\" \/><\/p>\n<p><strong>Notepad++ \u4e2d\u5982\u4f55\u7f16\u8bd1\u548c\u8fd0\u884c\u4ee3\u7801<\/strong><\/p>\n<p>Notepad++ \u662f\u4e00\u6b3e\u6d41\u884c\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u867d\u7136\u5b83\u672c\u8eab\u4e0d\u5177\u5907\u7f16\u8bd1\u548c\u8fd0\u884c\u4ee3\u7801\u7684\u80fd\u529b\uff0c\u4f46\u901a\u8fc7\u5b89\u88c5\u63d2\u4ef6\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6b64\u529f\u80fd\u3002<\/p>\n<p><strong>\u5b89\u88c5\u63d2\u4ef6<\/strong><\/p>\n<ul>\n<li>\u6253\u5f00 Notepad++\u3002<\/li>\n<li>\u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300c\u63d2\u4ef6\u7ba1\u7406\u5668\u300d\u3002<\/li>\n<li>\u641c\u7d22\u300cCompiler Plugins\u300d\u63d2\u4ef6\u3002<\/li>\n<li>\u5b89\u88c5\u5b83\u5e76\u91cd\u542f Notepad++\u3002<\/li>\n<\/ul>\n<p><strong>\u914d\u7f6e\u7f16\u8bd1\u5668<\/strong><\/p>\n<ul>\n<li>\u518d\u6b21\u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300c\u63d2\u4ef6\u7ba1\u7406\u5668\u300d\u3002<\/li>\n<li>\u9009\u62e9\u300cCompiler Plugins\u300d\u9009\u9879\u5361\u3002<\/li>\n<li>\u9009\u62e9\u8981\u4f7f\u7528\u7684\u7f16\u8bd1\u5668\uff0c\u4f8b\u5982\u300cGCC\u300d\u6216\u300cClang\u300d\u3002<\/li>\n<li>\u914d\u7f6e\u7f16\u8bd1\u5668\u8def\u5f84\u548c\u7f16\u8bd1\u9009\u9879\u3002<\/li>\n<\/ul>\n<p><strong>\u521b\u5efa\u4ee3\u7801\u6587\u4ef6<\/strong><\/p>\n<ul>\n<li>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\uff0c\u5e76\u8f93\u5165\u4ee3\u7801\u3002<\/li>\n<li>\u6839\u636e\u6240\u9009\u62e9\u7f16\u8bd1\u5668\u7684\u8bed\u8a00\uff0c\u4fdd\u5b58\u6587\u4ef6\u4e3a\u9002\u5f53\u7684\u6269\u5c55\u540d\uff0c\u4f8b\u5982\u300c.c\u300d\u6216\u300c.cpp\u300d\u3002<\/li>\n<\/ul>\n<p><strong>\u7f16\u8bd1\u4ee3\u7801<\/strong><\/p>\n<ul>\n<li>\u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300cCompiler Plugins\u300d&gt;\u300c\u7f16\u8bd1\u300d\u3002<\/li>\n<li>\u7cfb\u7edf\u5c06\u5f39\u51fa\u7f16\u8bd1\u5668\u8f93\u51fa\u7a97\u53e3\u3002<\/li>\n<li>\u5982\u679c\u7f16\u8bd1\u6210\u529f\uff0c\u5c06\u663e\u793a\u6210\u529f\u6d88\u606f\u3002\u5426\u5219\uff0c\u5c06\u663e\u793a\u9519\u8bef\u6d88\u606f\u3002<\/li>\n<\/ul>\n<p><strong>\u8fd0\u884c\u4ee3\u7801<\/strong><\/p>\n<ul>\n<li>\u7f16\u8bd1\u4ee3\u7801\u540e\uff0c\u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300cCompiler Plugins\u300d&gt;\u300c\u8fd0\u884c\u300d\u3002<\/li>\n<li>\u5982\u679c\u7a0b\u5e8f\u8fd0\u884c\u6210\u529f\uff0c\u5c06\u5728\u8f93\u51fa\u7a97\u53e3\u663e\u793a\u7ed3\u679c\u3002<\/li>\n<\/ul>\n<p><strong>\u793a\u4f8b<\/strong><\/p>\n<p>\u5047\u8bbe\u60a8\u6709\u4e00\u4e2a\u540d\u4e3a\u300cmain.c\u300d\u7684 C \u4ee3\u7801\u6587\u4ef6\uff0c\u5176\u4e2d\u5305\u542b\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>#include &lt;stdio.h&gt;\n\nint main() {\n    printf(\"Hello world!\n\");\n    return 0;\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>\u7f16\u8bd1\u548c\u8fd0\u884c\u6b65\u9aa4\uff1a<\/strong><\/p>\n<ol>\n<li>\u5b89\u88c5\u300cCompiler Plugins\u300d\u63d2\u4ef6\u3002<\/li>\n<li>\u914d\u7f6e\u300cGCC\u300d\u7f16\u8bd1\u5668\u3002<\/li>\n<li>\u521b\u5efa\u300cmain.c\u300d\u6587\u4ef6\u5e76\u4fdd\u5b58\u3002<\/li>\n<li>\u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300cCompiler Plugins\u300d&gt;\u300c\u7f16\u8bd1\u300d\u3002<\/li>\n<li>\u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300cCompiler Plugins\u300d&gt;\u300c\u8fd0\u884c\u300d\u3002<\/li>\n<\/ol>\n<p>\u60a8\u5c06\u5728\u8f93\u51fa\u7a97\u53e3\u770b\u5230\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre>Hello world!<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f++\u600e\u4e48\u7f16\u8bd1\u8fd0\u884c\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fc7\u5b89\u88c5\u201ccompiler plugins\u201d\u63d2\u4ef6\uff0cnotepad++\u53ef\u4ee5\u5b9e\u73b0\u7f16\u8bd1\u548c\u8fd0\u884c\u4ee3\u7801\u7684\u529f\u80fd\uff0c\u6b65\u9aa4\u5982\u4e0b\uff1a\u5b89\u88c5\u63d2\u4ef6\u3002\u914d\u7f6e\u7f16\u8bd1\u5668\u3002\u521b\u5efa\u4ee3\u7801\u6587\u4ef6\u3002\u7f16\u8bd1\u4ee3\u7801\u3002\u8fd0\u884c\u4ee3\u7801\u3002 Notepad++ \u4e2d\u5982\u4f55\u7f16\u8bd1\u548c\u8fd0\u884c\u4ee3\u7801 Notepad++ \u662f\u4e00\u6b3e\u6d41\u884c\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u867d\u7136\u5b83\u672c\u8eab\u4e0d\u5177\u5907\u7f16\u8bd1\u548c\u8fd0\u884c\u4ee3\u7801\u7684\u80fd\u529b\uff0c\u4f46\u901a\u8fc7\u5b89\u88c5\u63d2\u4ef6\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6b64\u529f\u80fd\u3002 \u5b89\u88c5\u63d2\u4ef6 \u6253\u5f00 Notepad++\u3002 \u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300c\u63d2\u4ef6\u7ba1\u7406\u5668\u300d\u3002 \u641c\u7d22\u300cCompiler Plugins\u300d\u63d2\u4ef6\u3002 \u5b89\u88c5\u5b83\u5e76\u91cd\u542f Notepad++\u3002 \u914d\u7f6e\u7f16\u8bd1\u5668 \u518d\u6b21\u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300c\u63d2\u4ef6\u7ba1\u7406\u5668\u300d\u3002 \u9009\u62e9\u300cCompiler Plugins\u300d\u9009\u9879\u5361\u3002 \u9009\u62e9\u8981\u4f7f\u7528\u7684\u7f16\u8bd1\u5668\uff0c\u4f8b\u5982\u300cGCC\u300d\u6216\u300cClang\u300d\u3002 \u914d\u7f6e\u7f16\u8bd1\u5668\u8def\u5f84\u548c\u7f16\u8bd1\u9009\u9879\u3002 \u521b\u5efa\u4ee3\u7801\u6587\u4ef6 \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\uff0c\u5e76\u8f93\u5165\u4ee3\u7801\u3002 \u6839\u636e\u6240\u9009\u62e9\u7f16\u8bd1\u5668\u7684\u8bed\u8a00\uff0c\u4fdd\u5b58\u6587\u4ef6\u4e3a\u9002\u5f53\u7684\u6269\u5c55\u540d\uff0c\u4f8b\u5982\u300c.c\u300d\u6216\u300c.cpp\u300d\u3002 \u7f16\u8bd1\u4ee3\u7801 \u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300cCompiler Plugins\u300d&gt;\u300c\u7f16\u8bd1\u300d\u3002 \u7cfb\u7edf\u5c06\u5f39\u51fa\u7f16\u8bd1\u5668\u8f93\u51fa\u7a97\u53e3\u3002 \u5982\u679c\u7f16\u8bd1\u6210\u529f\uff0c\u5c06\u663e\u793a\u6210\u529f\u6d88\u606f\u3002\u5426\u5219\uff0c\u5c06\u663e\u793a\u9519\u8bef\u6d88\u606f\u3002 \u8fd0\u884c\u4ee3\u7801 \u7f16\u8bd1\u4ee3\u7801\u540e\uff0c\u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300cCompiler Plugins\u300d&gt;\u300c\u8fd0\u884c\u300d\u3002 \u5982\u679c\u7a0b\u5e8f\u8fd0\u884c\u6210\u529f\uff0c\u5c06\u5728\u8f93\u51fa\u7a97\u53e3\u663e\u793a\u7ed3\u679c\u3002 \u793a\u4f8b \u5047\u8bbe\u60a8\u6709\u4e00\u4e2a\u540d\u4e3a\u300cmain.c\u300d\u7684 C \u4ee3\u7801\u6587\u4ef6\uff0c\u5176\u4e2d\u5305\u542b\u4ee5\u4e0b\u4ee3\u7801\uff1a #include &lt;stdio.h&gt; int main() { printf(&#8220;Hello world! &#8220;); return 0; } \u767b\u5f55\u540e\u590d\u5236 \u7f16\u8bd1\u548c\u8fd0\u884c\u6b65\u9aa4\uff1a \u5b89\u88c5\u300cCompiler Plugins\u300d\u63d2\u4ef6\u3002 \u914d\u7f6e\u300cGCC\u300d\u7f16\u8bd1\u5668\u3002 \u521b\u5efa\u300cmain.c\u300d\u6587\u4ef6\u5e76\u4fdd\u5b58\u3002 \u70b9\u51fb\u300c\u63d2\u4ef6\u300d&gt;\u300cCompiler Plugins\u300d&gt;\u300c\u7f16\u8bd1\u300d\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-20887","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=20887"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20887\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}