{"id":25920,"date":"2008-08-16T19:48:14","date_gmt":"2008-08-16T11:48:14","guid":{"rendered":"http:\/\/www.yankay.com\/?p=25920"},"modified":"2008-08-16T19:48:14","modified_gmt":"2008-08-16T11:48:14","slug":"windows%e4%b8%8beclipse%e7%9a%84-c%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"http:\/\/yankay.com\/windows%e4%b8%8beclipse%e7%9a%84-c%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae\/","title":{"rendered":"Windows\u4e0beclipse\u7684 C++\u73af\u5883\u914d\u7f6e"},"content":{"rendered":"

\u5f15\u8a00
\n\u65b9\u4fbf\u5927\u5bb6\u5728windows\u4e0b\u8fdb\u884cC++\u5f00\u53d1\uff0c\u4e14\u73b0\u5728\u5f88\u96be\u627e\u5230\u6700\u65b0\u7248\u7684eclipseC++\u914d\u7f6e\u8bf4\u660e\uff0c\u8fd9\u5c31\u662f\u6211\u5199\u8fd9\u7bc7\u6587\u6863\u52a8\u673a\u3002<\/p>\n

l\u00a0\u00a0eclipse CDT\u9879\u76ee\u7684\u4e3b\u9875\uff1ahttp:\/\/www.eclipse.org\/cdt\/<\/a>\u3002<\/p>\n

l\u00a0\u00a0eclipse \u7684\u4e3b\u9875 http:\/\/www.eclipse.org\/<\/a><\/p>\n

l\u00a0\u00a0DevCPP \u7684\u4e3b\u9875 http:\/\/www.bloodshed.net\/devcpp.html<\/a><\/p>\n

Eclipse \u662f\u4e00\u4e2a\u4f1f\u5927\u7684IDE\u4e5f\u53ef\u4ee5\u8bf4\u662f\u5e73\u53f0\uff0c\u76ee\u524d\u7248\u672c3.4\uff0c\u4ee3\u53f7ganymede\u3002CDT\u662feclipse\u7684\u4e00\u4e2a\u5199C\/C++\u7684\u9879\u76ee\uff0c\u76ee\u524d\u7248\u672c5.0\u3002\u800c DevCPP\u662f\u53e6\u4e00\u4e2a\u548ceclipse\u98ce\u725b\u9a6c\u4e0d\u76f8\u53ca\u7684\u7684IDE\uff0c\u4f46\u662f\u5b83\u6346\u7ed1\u7684mingw32\u662f\u6211\u4eec\u9700\u8981\u7684\u7f16\u8bd1\u5668\uff0c\u6b63\u5982\u5199java\u9700\u8981JDK\u4e00\u6837\uff0c\u6211\u4eec\u9700\u8981 \u4ed6\u6765\u8fdb\u884c\u7f16\u8bd1\u3002<\/p>\n

\u4f60\u53ef\u4ee5\u5728\u4ee5\u4e0b\u5730\u5740\u4e0b\u8f7d\u6240\u9700\u8981\u7684\u8f6f\u4ef6\uff1a<\/p>\n

l\u00a0\u00a0Eclipse http:\/\/www.eclipse.org\/downloads\/<\/a><\/p>\n

n\u00a0\u00a0\u5982\u679c\u4f60\u53ea\u5199C\/C++,\u5c31\u9009Eclipse IDE for C\/C++ Developers (68 MB)<\/p>\n

n\u00a0\u00a0\u5982\u679c\u4f60\u6e34\u671b\u62e5\u6709eclipse\u5176\u4ed6\u7684\u529f\u80fd,\u5c31\u9009Eclipse Classic 3.4 (151 MB)<\/p>\n

l\u00a0\u00a0DevCPP http:\/\/www.skycn.com\/soft\/4639.html<\/a><\/p>\n

\u5b89\u88c5
\n\u76f8\u4fe1\u5927\u5bb6\u5df2\u7ecf\u8feb\u4e0d\u53ca\u5f85\u5730\u4e0b\u8f7d\u4e0b\u6765\u4e86\u3002<\/p>\n

\u5b89\u88c5DevCPP\u3002\u5efa\u8bae\u88c5\u5728D:Program FilesDEV-CPP\uff0c\u6ca1\u522b\u7684\u610f\u601d\uff0c\u8fd9\u6837\u53ef\u4ee5\u7167\u6284\u6211\u7684\u73af\u5883\u53d8\u91cf\u3002<\/p>\n

Eclipse\u89e3\u538b\u5c31\u80fd\u7528\u3002\u53ef\u4ee5\u968f\u610f\u9009\u4e2aworkspace\u3002\u5982\u679c\u4f60\u662f\u4e0b\u8f7d\u7684Eclipse IDE for C\/C++ Developers (68 MB) \u90a3\u4e48\u5b89\u88c5\u8fc7\u7a0b\u5230\u6b64\u7ed3\u675f\uff0c\u5982\u679c\u662f\u5176\u4ed6\u7248\u672c\uff0c\u5219\uff1a<\/p>\n

1.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6253\u5f00eclipse,\u70b9\u51fb\u83dc\u5355\u4e0a\u7684Help->software update<\/p>\n

2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u9009\u62e9available software\u6807\u7b7e\uff0c\u70b9\u51fbGanymede\u524d\u7684\u7bad\u5934\uff0c\u5c06C and C++\u524d\u7684\u6846\u9009\u4e0a\uff0c\u70b9\u51fb\u53f3\u4e0a\u65b9\u7684install.
\n3.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Next\u2026install\u2026\u2026. Finish\u2026restart\u3002\u5c31\u662f\u8fd9\u4e48\u7b80\u5355\u3002<\/p>\n

\u9644\uff1a\u5047\u5982\u4f60\u7684eclipse\u7248\u672c\u662f3.3\uff0c\u4ee3\u53f7europa\u5219\u7a0d\u6709\u4e0d\u540c\u3002<\/p>\n

1.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6253\u5f00eclipse,\u70b9\u51fb\u83dc\u5355\u4e0a\u7684Help->software update->find and install<\/p>\n

2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u9009Search for new features to install<\/p>\n

3.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u52fe\u9009europa discovery site->finish<\/p>\n

4.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u70b9\u51fbeuropa\u524d\u7684\u7bad\u5934\uff0c\u5c06C and C++\u524d\u7684\u6846\u9009\u4e0a
\n5.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Next\u2026\u2026install\u2026. Finish\u2026restart\u3002\u4e5f\u662f\u8fd9\u4e48\u7b80\u5355\u3002<\/p>\n

\u914d\u7f6e
\n1.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6253\u5f00DevCPP.\u5de5\u5177->\u7f16\u8bd1\u5668\u9009\u9879->\u76ee\u5f55
\n2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u6253\u5f00eclipse.window->preference->C\/C++->environment
\n3.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u5355\u51fbAdd,\u5728name\u4e2d\u586bpath,\u5728value\u4e2d\u586bDevCpp\u4e2d\u201c\u4e8c\u8fdb\u5236\u201d\u7684\u503c\u201d d:Program FilesDEV-CPPBin\u201d\u3002\u4ee5\u4e0b\u662f\u5bf9\u5e94\u5173\u7cfb\uff0c\u548c\u6211\u7684\u8d4b\u503c\u3002Ok.\u8bbe\u7f6e\u5b8c\u6bd5<\/p>\n\n\n\n\n\n\n
Eclipse\u4e2d\u7684name<\/td>\nDevCPP\u4e2d\u7684\u4e2d\u6587\u540d<\/td>\n\u6211\u81ea\u5df1\u7684value<\/td>\n<\/tr>\n
path<\/td>\n\u4e8c\u8fdb\u5236<\/td>\nD:Program FilesDEV-CPPBin<\/td>\n<\/tr>\n
LIBRARY_PATH <\/td>\n\u5e93<\/td>\nd:Program FilesDEV-CPPLib<\/td>\n<\/tr>\n
C_INCLUDE_PATH<\/td>\nC\u5305\u542b\u6587\u4ef6<\/td>\nd:Program FilesDEV-CPPinclude<\/td>\n<\/tr>\n
CPLUS_INCLUDE_PATH<\/td>\nC++\u5305\u542b\u6587\u4ef6<\/td>\nd:Program FilesDEV-CPPinclude;d:Program FilesDEV-CPPincludec++3.4.2;d:Program FilesDEV-CPPincludec++3.4.2mingw32;d:Program FilesDEV-CPPincludec++3.4.2backward;d:Program FilesDEV-CPPlibgccmingw323.4.2include<\/td>\n<\/tr>\n<\/table>\n

4.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u5982\u679c\u4f60\u4e0d\u6015\u73b0\u5728\u9ebb\u70e6\uff0c \u53ef\u4ee5\u628a\u8fd9\u4e2a\u7f16\u8bd1\u5668\u8bbe\u7f6e\u4e3amingw32\u3002window->preference->C\/C++->New CDT project\u2026\u3002\u5c06\u4e0b\u65b9\u4e2ashow project types\u2026..\u7684\u52fe\u53bb\u6389\u3002\u9009executable,\u9009mingw gcc .\u6309make toolchain(s) preferred.ok<\/p>\n

5.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u91cd\u542feclipse.<\/p>\n

HelloWord
\n\u6ca1\u4ec0\u4e48\u8bed\u8a00\u9003\u7684\u4e86helloWorld.<\/p>\n

1.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6253\u5f00eclipse,file->new->other->C++ project<\/p>\n

2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u5f39\u51fa\u5982\u4e0b\u5bf9\u8bdd\u6846\uff0c\u53bb\u6389\u4e0b\u65b9show project\u2026..\u7684\u94a9\uff0cProject types\u9009exexutable->Hello World C++ Project.Toolchain\u9009MinGw(\u5982\u679c\u4f60\u9ed8\u8ba4\u914d\u7f6e\u5728minGW\u5219\u4e0d\u7528\u9009).Finish.
\n3.\u00a0\u00a0 \u9009\u4e2dhelloWorld.cpp\u6587\u4ef6\uff0c\u6309\u8fd0\u884c\u6309\u94ae \u3002\u4e0b\u65b9\u63a7\u5236\u53f0\u81ea\u52a8\u7f16\u8bd1\uff0c\u5e76\u8fd0\u884c\uff0c\u663e\u793a\u51fa!!!Hello World!!!<\/p>\n

\u9644
\n1.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0eclipseCDT\u5f88\u597d\u5f88\u5f3a\u5927\u3002<\/p>\n

2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u5728linux\u4e2declipseCDT\u4e0d\u9700\u8981\u4efb\u4f55\u914d\u7f6e\uff0c\u4e0b\u8f7d\u5c31\u53ef\u7528\u3002\u548cwindows\u5f62\u6210\u9c9c\u660e\u5bf9\u6bd4\u3002<\/p>\n

3.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u9664\u6b64\u4e4b\u5916\u8fd8\u6709\u66f4\u5f3a\u5927\u7684\u53ef\u4ee5\u7f16\u8f91C++\u5de5\u5177\uff0c\u6bd4\u5982VIM,Emacs.\u5c31\u662f\u6211\u4e0d\u4f1a\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5f15\u8a00 \u65b9\u4fbf\u5927\u5bb6\u5728windows\u4e0b\u8fdb\u884cC++\u5f00\u53d1\uff0c\u4e14\u73b0\u5728\u5f88\u96be\u627e\u5230\u6700\u65b0\u7248\u7684eclipseC++\u914d\u7f6e\u8bf4\u660e\uff0c\u8fd9\u5c31\u662f\u6211\u5199 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yoast_head":"\nWindows\u4e0beclipse\u7684 C++\u73af\u5883\u914d\u7f6e - \u6211\u81ea\u7136<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/yankay.com\/windows\u4e0beclipse\u7684-c\u73af\u5883\u914d\u7f6e\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows\u4e0beclipse\u7684 C++\u73af\u5883\u914d\u7f6e - \u6211\u81ea\u7136\" \/>\n<meta property=\"og:description\" content=\"\u5f15\u8a00 \u65b9\u4fbf\u5927\u5bb6\u5728windows\u4e0b\u8fdb\u884cC++\u5f00\u53d1\uff0c\u4e14\u73b0\u5728\u5f88\u96be\u627e\u5230\u6700\u65b0\u7248\u7684eclipseC++\u914d\u7f6e\u8bf4\u660e\uff0c\u8fd9\u5c31\u662f\u6211\u5199 […]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/yankay.com\/windows\u4e0beclipse\u7684-c\u73af\u5883\u914d\u7f6e\/\" \/>\n<meta property=\"og:site_name\" content=\"\u6211\u81ea\u7136\" \/>\n<meta property=\"article:published_time\" content=\"2008-08-16T11:48:14+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/yankay.com\/#website\",\"url\":\"http:\/\/yankay.com\/\",\"name\":\"\\u6211\\u81ea\\u7136\",\"description\":\"\\u989c\\u5f00\\u7684\\u535a\\u5ba2\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"http:\/\/yankay.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/yankay.com\/windows%e4%b8%8beclipse%e7%9a%84-c%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae\/#webpage\",\"url\":\"http:\/\/yankay.com\/windows%e4%b8%8beclipse%e7%9a%84-c%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae\/\",\"name\":\"Windows\\u4e0beclipse\\u7684 C++\\u73af\\u5883\\u914d\\u7f6e - \\u6211\\u81ea\\u7136\",\"isPartOf\":{\"@id\":\"http:\/\/yankay.com\/#website\"},\"datePublished\":\"2008-08-16T11:48:14+00:00\",\"dateModified\":\"2008-08-16T11:48:14+00:00\",\"author\":{\"@id\":\"http:\/\/yankay.com\/#\/schema\/person\/f52d918e9bfa51c4454172c2caa7704f\"},\"breadcrumb\":{\"@id\":\"http:\/\/yankay.com\/windows%e4%b8%8beclipse%e7%9a%84-c%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/yankay.com\/windows%e4%b8%8beclipse%e7%9a%84-c%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/yankay.com\/windows%e4%b8%8beclipse%e7%9a%84-c%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"http:\/\/yankay.com\/\",\"url\":\"http:\/\/yankay.com\/\",\"name\":\"\\u9996\\u9875\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"http:\/\/yankay.com\/windows%e4%b8%8beclipse%e7%9a%84-c%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae\/#webpage\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\/\/yankay.com\/#\/schema\/person\/f52d918e9bfa51c4454172c2caa7704f\",\"name\":\"yankay\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/yankay.com\/#personlogo\",\"inLanguage\":\"zh-CN\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/426bb830224c1471011d92a830a6ed4f?s=96&d=wavatar&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/426bb830224c1471011d92a830a6ed4f?s=96&d=wavatar&r=g\",\"caption\":\"yankay\"},\"sameAs\":[\"http:\/\/47.100.65.109\"],\"url\":\"http:\/\/yankay.com\/author\/yankay\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"http:\/\/yankay.com\/wp-json\/wp\/v2\/posts\/25920"}],"collection":[{"href":"http:\/\/yankay.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yankay.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yankay.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/yankay.com\/wp-json\/wp\/v2\/comments?post=25920"}],"version-history":[{"count":0,"href":"http:\/\/yankay.com\/wp-json\/wp\/v2\/posts\/25920\/revisions"}],"wp:attachment":[{"href":"http:\/\/yankay.com\/wp-json\/wp\/v2\/media?parent=25920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yankay.com\/wp-json\/wp\/v2\/categories?post=25920"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yankay.com\/wp-json\/wp\/v2\/tags?post=25920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}