{"id":20934,"date":"2024-11-19T13:23:26","date_gmt":"2024-11-19T05:23:26","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20934\/"},"modified":"2024-11-19T13:23:26","modified_gmt":"2024-11-19T05:23:26","slug":"notepad%e5%a6%82%e4%bd%95%e7%bc%96%e8%af%91","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20934\/","title":{"rendered":"notepad\u5982\u4f55\u7f16\u8bd1"},"content":{"rendered":"<blockquote><p>\n  notepad \u65e0\u6cd5\u7f16\u8bd1\u4ee3\u7801\uff0c\u60a8\u9700\u8981\u7f16\u8bd1\u5668\u3002\u66ff\u4ee3\u65b9\u6848\u5305\u62ec\uff1a1. c\/c++ \u7f16\u8bd1\u5668\uff08visual studio code\u3001clang\u3001gcc\uff09\uff1b2. java \u7f16\u8bd1\u5668\uff08java development kit\uff09\uff1b3. python \u89e3\u91ca\u5668\uff1b4. web \u7f16\u8bd1\u5668\uff08codepen\u3001jsfiddle\uff09\u3002\u7f16\u8bd1\u8fc7\u7a0b\u5982\u4e0b\uff1a1. \u5728\u7f16\u8bd1\u5668\u4e2d\u6253\u5f00\u6e90\u4ee3\u7801\uff1b2. \u6784\u5efa\u9879\u76ee\uff08\u5982\u679c\u9700\u8981\uff09\uff1b3. \u8fd0\u884c\u7f16\u8bd1\u547d\u4ee4\uff1b4. \u67e5\u770b\u7f16\u8bd1\u8f93\u51fa\uff0c\u5305\u62ec\u9519\u8bef\u6216\u8b66\u544a\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/08\/2024040810392323523.jpg\" class=\"aligncenter\" title=\"notepad\u5982\u4f55\u7f16\u8bd1\u63d2\u56fe\" alt=\"notepad\u5982\u4f55\u7f16\u8bd1\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5728 Notepad \u4e2d\u7f16\u8bd1\uff1f<\/strong><\/p>\n<p>Notepad \u662f\u4e00\u4e2a\u57fa\u672c\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u4e0d\u5177\u5907\u7f16\u8bd1\u529f\u80fd\u3002\u7f16\u8bd1\u662f\u6307\u5c06\u6e90\u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u4ee3\u7801\u6216\u5176\u4ed6\u5f62\u5f0f\u7684\u8fc7\u7a0b\uff0c\u901a\u5e38\u7531\u4e13\u7528\u7684\u7f16\u8bd1\u5668\u6267\u884c\u3002\u56e0\u6b64\uff0c\u60a8\u4e0d\u80fd\u76f4\u63a5\u5728 Notepad \u4e2d\u7f16\u8bd1\u4ee3\u7801\u3002<\/p>\n<p><strong>\u66ff\u4ee3\u65b9\u6848<\/strong><\/p>\n<p>\u8981\u7f16\u8bd1\u4ee3\u7801\uff0c\u60a8\u9700\u8981\u4f7f\u7528\u7f16\u8bd1\u5668\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6d41\u884c\u7684\u7f16\u8bd1\u5668\u9009\u62e9\uff1a<\/p>\n<ul>\n<li> <strong>C\/C++ \u7f16\u8bd1\u5668\uff1a<\/strong> Visual Studio Code\u3001Clang\u3001GCC<\/li>\n<li> <strong>Java \u7f16\u8bd1\u5668\uff1a<\/strong> Java Development Kit (JDK)<\/li>\n<li> <strong>Python \u89e3\u91ca\u5668\uff1a<\/strong> Python \u89e3\u91ca\u5668\u5904\u7406 Python \u4ee3\u7801\uff0c\u65e0\u9700\u7f16\u8bd1<\/li>\n<li> <strong>Web \u7f16\u8bd1\u5668\uff1a<\/strong> CodePen\u3001JSFiddle\uff08\u7528\u4e8e\u7f16\u8bd1 HTML\u3001CSS \u548c JavaScript\uff09<\/li>\n<\/ul>\n<p><strong>\u7f16\u8bd1\u8fc7\u7a0b<\/strong><\/p>\n<p>\u4f7f\u7528\u7f16\u8bd1\u5668\u7f16\u8bd1\u4ee3\u7801\u7684\u6b65\u9aa4\u901a\u5e38\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li><strong>\u5728\u7f16\u8bd1\u5668\u4e2d\u6253\u5f00\u6e90\u4ee3\u7801\u6587\u4ef6\u3002<\/strong><\/li>\n<li><strong>\u6784\u5efa\u9879\u76ee\uff08\u5982\u679c\u9700\u8981\uff09\u3002<\/strong><\/li>\n<li><strong>\u8fd0\u884c\u7f16\u8bd1\u547d\u4ee4\u3002<\/strong><\/li>\n<li><strong>\u67e5\u770b\u7f16\u8bd1\u8f93\u51fa\u3002<\/strong><\/li>\n<\/ol>\n<p>\u7f16\u8bd1\u8f93\u51fa\u53ef\u80fd\u5305\u62ec\u9519\u8bef\u6216\u8b66\u544a\u6d88\u606f\uff0c\u8fd9\u4e9b\u6d88\u606f\u53ef\u4ee5\u5e2e\u52a9\u60a8\u8bc6\u522b\u5e76\u4fee\u590d\u4ee3\u7801\u4e2d\u7684\u95ee\u9898\u3002<\/p>\n<p><strong>\u793a\u4f8b\uff1a\u4f7f\u7528 Visual Studio Code \u7f16\u8bd1 C++ \u4ee3\u7801<\/strong><\/p>\n<ol>\n<li>\u5728 Visual Studio Code \u4e2d\u6253\u5f00 .cpp \u6e90\u4ee3\u7801\u6587\u4ef6\u3002<\/li>\n<li>\u5bfc\u822a\u5230\u201c\u7ec8\u7aef\u201d\u6807\u7b7e\uff08\u5982\u679c\u672a\u6253\u5f00\uff0c\u8bf7\u6309 Ctrl + `\uff09\u3002<\/li>\n<li>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/li>\n<\/ol>\n<pre>g++ -o output-name source-file.cpp<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5176\u4e2d\uff1a<\/p>\n<ul>\n<li>output-name \u662f\u53ef\u6267\u884c\u6587\u4ef6\uff08\u4e8c\u8fdb\u5236\u6587\u4ef6\uff09\u7684\u540d\u79f0<\/li>\n<li>source-file.cpp \u662f\u8981\u7f16\u8bd1\u7684\u6e90\u4ee3\u7801\u6587\u4ef6\u540d\u79f0<\/li>\n<\/ul>\n<p>\u4e00\u65e6\u7f16\u8bd1\u6210\u529f\uff0c\u60a8\u5c06\u770b\u5230\u4e00\u4e2a\u540d\u4e3a output-name \u7684\u65b0\u6587\u4ef6\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u7f16\u8bd1\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>notepad \u65e0\u6cd5\u7f16\u8bd1\u4ee3\u7801\uff0c\u60a8\u9700\u8981\u7f16\u8bd1\u5668\u3002\u66ff\u4ee3\u65b9\u6848\u5305\u62ec\uff1a1. c\/c++ \u7f16\u8bd1\u5668\uff08visual studio code\u3001clang\u3001gcc\uff09\uff1b2. java \u7f16\u8bd1\u5668\uff08java development kit\uff09\uff1b3. python \u89e3\u91ca\u5668\uff1b4. web \u7f16\u8bd1\u5668\uff08codepen\u3001jsfiddle\uff09\u3002\u7f16\u8bd1\u8fc7\u7a0b\u5982\u4e0b\uff1a1. \u5728\u7f16\u8bd1\u5668\u4e2d\u6253\u5f00\u6e90\u4ee3\u7801\uff1b2. \u6784\u5efa\u9879\u76ee\uff08\u5982\u679c\u9700\u8981\uff09\uff1b3. \u8fd0\u884c\u7f16\u8bd1\u547d\u4ee4\uff1b4. \u67e5\u770b\u7f16\u8bd1\u8f93\u51fa\uff0c\u5305\u62ec\u9519\u8bef\u6216\u8b66\u544a\u3002 \u5982\u4f55\u5728 Notepad \u4e2d\u7f16\u8bd1\uff1f Notepad \u662f\u4e00\u4e2a\u57fa\u672c\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u4e0d\u5177\u5907\u7f16\u8bd1\u529f\u80fd\u3002\u7f16\u8bd1\u662f\u6307\u5c06\u6e90\u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u4ee3\u7801\u6216\u5176\u4ed6\u5f62\u5f0f\u7684\u8fc7\u7a0b\uff0c\u901a\u5e38\u7531\u4e13\u7528\u7684\u7f16\u8bd1\u5668\u6267\u884c\u3002\u56e0\u6b64\uff0c\u60a8\u4e0d\u80fd\u76f4\u63a5\u5728 Notepad \u4e2d\u7f16\u8bd1\u4ee3\u7801\u3002 \u66ff\u4ee3\u65b9\u6848 \u8981\u7f16\u8bd1\u4ee3\u7801\uff0c\u60a8\u9700\u8981\u4f7f\u7528\u7f16\u8bd1\u5668\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6d41\u884c\u7684\u7f16\u8bd1\u5668\u9009\u62e9\uff1a C\/C++ \u7f16\u8bd1\u5668\uff1a Visual Studio Code\u3001Clang\u3001GCC Java \u7f16\u8bd1\u5668\uff1a Java Development Kit (JDK) Python \u89e3\u91ca\u5668\uff1a Python \u89e3\u91ca\u5668\u5904\u7406 Python \u4ee3\u7801\uff0c\u65e0\u9700\u7f16\u8bd1 Web \u7f16\u8bd1\u5668\uff1a CodePen\u3001JSFiddle\uff08\u7528\u4e8e\u7f16\u8bd1 HTML\u3001CSS \u548c JavaScript\uff09 \u7f16\u8bd1\u8fc7\u7a0b \u4f7f\u7528\u7f16\u8bd1\u5668\u7f16\u8bd1\u4ee3\u7801\u7684\u6b65\u9aa4\u901a\u5e38\u5982\u4e0b\uff1a \u5728\u7f16\u8bd1\u5668\u4e2d\u6253\u5f00\u6e90\u4ee3\u7801\u6587\u4ef6\u3002 \u6784\u5efa\u9879\u76ee\uff08\u5982\u679c\u9700\u8981\uff09\u3002 \u8fd0\u884c\u7f16\u8bd1\u547d\u4ee4\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-20934","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20934","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=20934"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20934\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}