{"id":21473,"date":"2024-11-19T12:04:00","date_gmt":"2024-11-19T04:04:00","guid":{"rendered":"https:\/\/fwq.ai\/blog\/21473\/"},"modified":"2024-11-19T12:04:00","modified_gmt":"2024-11-19T04:04:00","slug":"notepad%e6%80%8e%e4%b9%88%e8%bf%90%e8%a1%8cc%e8%af%ad%e8%a8%80","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/21473\/","title":{"rendered":"notepad+\u600e\u4e48\u8fd0\u884cc\u8bed\u8a00"},"content":{"rendered":"<blockquote><p>\n  \u5728 notepad++ \u4e2d\u8fd0\u884c c \u8bed\u8a00\u7a0b\u5e8f\u9700\u8981\u7b2c\u4e09\u65b9\u7f16\u8bd1\u5668\uff0c\u5b89\u88c5\u5e76\u914d\u7f6e mingw \u540e\uff0c\u6b65\u9aa4\u5982\u4e0b\uff1a\u521b\u5efa .c \u6587\u4ef6\u5e76\u7f16\u5199\u4ee3\u7801\u914d\u7f6e\u7f16\u8bd1\u5668\u4e3a mingw\u7f16\u8bd1\u4ee3\u7801\uff08\u6309 f9 \u6216\u8f6c\u5230\u201c\u8fd0\u884c\u201d&gt;\u201c\u7f16\u8bd1\u201d\uff09\u8fd0\u884c\u7a0b\u5e8f\uff08\u6309 f5 \u6216\u8f6c\u5230\u201c\u8fd0\u884c\u201d&gt;\u201c\u8fd0\u884c\u201d\uff09\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202405\/29\/2024052915331752349.jpg\" class=\"aligncenter\" title=\"notepad+\u600e\u4e48\u8fd0\u884cc\u8bed\u8a00\u63d2\u56fe\" alt=\"notepad+\u600e\u4e48\u8fd0\u884cc\u8bed\u8a00\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528 Notepad++ \u8fd0\u884c C \u8bed\u8a00\u7a0b\u5e8f<\/strong><\/p>\n<p><strong>\u76f4\u63a5\u6253\u5f00\u63d0\u95ee\u7684\u7b54\u6848\uff1a<\/strong><br \/>\u5728 Notepad++ \u4e2d\u8fd0\u884c C \u8bed\u8a00\u7a0b\u5e8f\uff0c\u9700\u8981\u901a\u8fc7\u7b2c\u4e09\u65b9\u7f16\u8bd1\u5668\u3002<\/p>\n<p><strong>\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/strong><\/p>\n<ol>\n<li> <strong>\u5b89\u88c5\u7f16\u8bd1\u5668\uff1a<\/strong> \u63a8\u8350\u4f7f\u7528 MinGW\uff08Minimalist GNU for Windows\uff09\uff0c\u662f\u4e00\u6b3e\u514d\u8d39\u4e14\u5f00\u6e90\u7684 C\/C++ \u7f16\u8bd1\u5668\u3002\u4ece http:\/\/www.mingw.org\/ \u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002<\/li>\n<li> <strong>\u914d\u7f6e\u7f16\u8bd1\u5668\uff1a<\/strong> \u5728 Notepad++ \u4e2d\uff0c\u8f6c\u5230\u201c\u8fd0\u884c\u201d&gt;\u201c\u914d\u7f6e\u201d\uff0c\u7136\u540e\u4ece\u4e0b\u62c9\u5217\u8868\u4e2d\u9009\u62e9\u201cMinGW\u201d\uff08\u6216\u60a8\u5b89\u88c5\u7684\u7f16\u8bd1\u5668\uff09\u3002<\/li>\n<li> <strong>\u521b\u5efa C \u8bed\u8a00\u6587\u4ef6\uff1a<\/strong> \u4f7f\u7528 Notepad++ \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\uff0c\u5e76\u4ee5 .c \u4e3a\u6269\u5c55\u540d\u4fdd\u5b58\uff08\u4f8b\u5982\uff1ahelloworld.c\uff09\u3002<\/li>\n<li> <strong>\u7f16\u5199 C \u8bed\u8a00\u4ee3\u7801\uff1a<\/strong> \u5728\u6587\u4ef6\u4e2d\u8f93\u5165\u60a8\u7684 C \u8bed\u8a00\u4ee3\u7801\u3002<\/li>\n<li> <strong>\u7f16\u8bd1\u4ee3\u7801\uff1a<\/strong> \u8f6c\u5230\u201c\u8fd0\u884c\u201d&gt;\u201c\u7f16\u8bd1\u201d\uff0c\u6216\u6309 F9\u3002Notepad++ \u5c06\u4f7f\u7528\u914d\u7f6e\u7684\u7f16\u8bd1\u5668\u7f16\u8bd1\u60a8\u7684\u4ee3\u7801\u3002<\/li>\n<li> <strong>\u8fd0\u884c\u7a0b\u5e8f\uff1a<\/strong> \u7f16\u8bd1\u6210\u529f\u540e\uff0c\u8f6c\u5230\u201c\u8fd0\u884c\u201d&gt;\u201c\u8fd0\u884c\u201d\uff08\u6216\u6309 F5\uff09\u4ee5\u8fd0\u884c\u60a8\u7684\u7a0b\u5e8f\u3002<\/li>\n<\/ol>\n<p><strong>\u6ce8\u610f\u4e8b\u9879\uff1a<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>\u786e\u4fdd\u60a8\u7684\u4ee3\u7801\u4e2d\u6ca1\u6709\u8bed\u6cd5\u9519\u8bef\uff0c\u5426\u5219\u7f16\u8bd1\u5668\u5c06\u65e0\u6cd5\u6b63\u5e38\u8fd0\u884c\u3002<\/li>\n<li>\u60a8\u9700\u8981\u5728\u4ee3\u7801\u4e2d\u5305\u542b\u5fc5\u8981\u7684\u5934\u6587\u4ef6\uff08\u4f8b\u5982 stdio.h\uff09\u3002<\/li>\n<li>\u60a8\u53ef\u4ee5\u5728 Notepad++ \u4e2d\u4f7f\u7528\u952e\u76d8\u5feb\u6377\u952e <strong>Ctrl + Shift + B<\/strong> \u6765\u540c\u65f6\u7f16\u8bd1\u548c\u8fd0\u884c\u7a0b\u5e8f\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f+\u600e\u4e48\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>\u5728 notepad++ \u4e2d\u8fd0\u884c c \u8bed\u8a00\u7a0b\u5e8f\u9700\u8981\u7b2c\u4e09\u65b9\u7f16\u8bd1\u5668\uff0c\u5b89\u88c5\u5e76\u914d\u7f6e mingw \u540e\uff0c\u6b65\u9aa4\u5982\u4e0b\uff1a\u521b\u5efa .c \u6587\u4ef6\u5e76\u7f16\u5199\u4ee3\u7801\u914d\u7f6e\u7f16\u8bd1\u5668\u4e3a mingw\u7f16\u8bd1\u4ee3\u7801\uff08\u6309 f9 \u6216\u8f6c\u5230\u201c\u8fd0\u884c\u201d&gt;\u201c\u7f16\u8bd1\u201d\uff09\u8fd0\u884c\u7a0b\u5e8f\uff08\u6309 f5 \u6216\u8f6c\u5230\u201c\u8fd0\u884c\u201d&gt;\u201c\u8fd0\u884c\u201d\uff09 \u5982\u4f55\u4f7f\u7528 Notepad++ \u8fd0\u884c C \u8bed\u8a00\u7a0b\u5e8f \u76f4\u63a5\u6253\u5f00\u63d0\u95ee\u7684\u7b54\u6848\uff1a\u5728 Notepad++ \u4e2d\u8fd0\u884c C \u8bed\u8a00\u7a0b\u5e8f\uff0c\u9700\u8981\u901a\u8fc7\u7b2c\u4e09\u65b9\u7f16\u8bd1\u5668\u3002 \u8be6\u7ec6\u6b65\u9aa4\uff1a \u5b89\u88c5\u7f16\u8bd1\u5668\uff1a \u63a8\u8350\u4f7f\u7528 MinGW\uff08Minimalist GNU for Windows\uff09\uff0c\u662f\u4e00\u6b3e\u514d\u8d39\u4e14\u5f00\u6e90\u7684 C\/C++ \u7f16\u8bd1\u5668\u3002\u4ece http:\/\/www.mingw.org\/ \u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002 \u914d\u7f6e\u7f16\u8bd1\u5668\uff1a \u5728 Notepad++ \u4e2d\uff0c\u8f6c\u5230\u201c\u8fd0\u884c\u201d&gt;\u201c\u914d\u7f6e\u201d\uff0c\u7136\u540e\u4ece\u4e0b\u62c9\u5217\u8868\u4e2d\u9009\u62e9\u201cMinGW\u201d\uff08\u6216\u60a8\u5b89\u88c5\u7684\u7f16\u8bd1\u5668\uff09\u3002 \u521b\u5efa C \u8bed\u8a00\u6587\u4ef6\uff1a \u4f7f\u7528 Notepad++ \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\uff0c\u5e76\u4ee5 .c \u4e3a\u6269\u5c55\u540d\u4fdd\u5b58\uff08\u4f8b\u5982\uff1ahelloworld.c\uff09\u3002 \u7f16\u5199 C \u8bed\u8a00\u4ee3\u7801\uff1a \u5728\u6587\u4ef6\u4e2d\u8f93\u5165\u60a8\u7684 C \u8bed\u8a00\u4ee3\u7801\u3002 \u7f16\u8bd1\u4ee3\u7801\uff1a \u8f6c\u5230\u201c\u8fd0\u884c\u201d&gt;\u201c\u7f16\u8bd1\u201d\uff0c\u6216\u6309 [&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-21473","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21473","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=21473"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21473\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=21473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=21473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=21473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}