Code::Blocks是(shi)一個(ge)開放源碼的(de)全功能的(de)跨平(ping)臺C/C++集成(cheng)開發環境。Code::Blocks是(shi)開放源碼軟件。Code::Blocks由純粹(cui)的(de)C++語(yu)言開發完成(cheng),它使用了著名的(de)圖形界面庫wxWidgets(3.x)版。對于追求完美的(de)C++程序員(yuan),再也不必忍受Eclipse的(de)緩慢。
雖然Code::Blocks從一開(kai)始(shi)(shi)就追求(qiu)跨(kua)平(ping)臺(tai)目(mu)標,但是最(zui)初的開(kai)發重點是Windows平(ping)臺(tai),從06年3月21日版本:1.0revision 2220開(kai)始(shi)(shi),Code::Blocks在它的每日構建中正式提供GNU/Linux版本,這樣Code::Blocks在1.0發布時就成為了跨(kua)越(yue)平(ping)臺(tai)的C/C++IDE,支持Windows和GNU/Linux。由于它開(kai)放源碼(ma)的特(te)點,Windows用(yong)戶可以不依賴于VS.NET,編寫(xie)跨(kua)平(ping)臺(tai)C++應用(yong)。
Code::Blocks提供了(le)許多工程(cheng)(cheng)(cheng)模板,這包括:控(kong)制臺應(ying)(ying)(ying)用(yong)(yong)、DirectX應(ying)(ying)(ying)用(yong)(yong)、動態(tai)連接庫(ku)、FLTK應(ying)(ying)(ying)用(yong)(yong)、GLFW應(ying)(ying)(ying)用(yong)(yong)、Irrlicht工程(cheng)(cheng)(cheng)、OGRE應(ying)(ying)(ying)用(yong)(yong)、OpenGL應(ying)(ying)(ying)用(yong)(yong)、QT應(ying)(ying)(ying)用(yong)(yong)、SDCC應(ying)(ying)(ying)用(yong)(yong)、SDL應(ying)(ying)(ying)用(yong)(yong)、SmartWin應(ying)(ying)(ying)用(yong)(yong)、靜態(tai)庫(ku)、Win32 GUI應(ying)(ying)(ying)用(yong)(yong)、wxWidgets應(ying)(ying)(ying)用(yong)(yong)、wxSmith工程(cheng)(cheng)(cheng),另外它(ta)還支(zhi)持用(yong)(yong)戶自定義(yi)工程(cheng)(cheng)(cheng)模板。在wxWidgets應(ying)(ying)(ying)用(yong)(yong)中選(xuan)擇UNICODE支(zhi)持中文(wen)。
Code::Blocks支(zhi)持語法彩色醒目顯(xian)示(shi),支(zhi)持代碼完成,支(zhi)持工程管理、項目構(gou)建、調試。
Code::Blocks支持插(cha)件(jian)(jian),包括代碼格式(shi)化工具AStyle;代碼分(fen)析器(qi)(qi);類向導(dao);代碼補全(quan);代碼統計;編譯(yi)器(qi)(qi)選擇;復制字符串到剪貼板;調試器(qi)(qi);文件(jian)(jian)擴展處理(li)器(qi)(qi);Dev-C++DevPak更(geng)新/安裝器(qi)(qi);DragScroll,源(yuan)碼導(dao)出器(qi)(qi),幫助(zhu)插(cha)件(jian)(jian),鍵(jian)盤快捷鍵(jian)配置,插(cha)件(jian)(jian)向導(dao);To-Do列表(biao);wxSmith;wxSmith MIME插(cha)件(jian)(jian);wsSmith工程向導(dao)插(cha)件(jian)(jian);Windows7外觀(guan)。
Code::Blocks具有靈活而強大的配置功能,除支(zhi)(zhi)持自身的工程(cheng)(cheng)文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、C/C++文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)外,還支(zhi)(zhi)持AngelScript、批處理、CSS文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、D語言文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、Diff/Patch文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、Fortan77文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、GameMonkey腳(jiao)本(ben)文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、Hitachi匯(hui)編(bian)文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、Lua文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、MASM匯(hui)編(bian)文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、Matlab文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、NSIS開源安裝程(cheng)(cheng)序(xu)文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、Ogre Compositor腳(jiao)本(ben)文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、Ogre Material腳(jiao)本(ben)文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、OpenGL Shading語言文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、Python文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、Windows資源文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、XBase文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、XML文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)、nVidia cg文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)。識(shi)別Dev-C++工程(cheng)(cheng)、MS VS 6.0-7.0工程(cheng)(cheng)文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian),工作空間、解決方案(an)文(wen)(wen)(wen)(wen)(wen)(wen)(wen)(wen)件(jian)(jian)(jian)。
Code::Blocks基于(yu)wxWidgets開(kai)發(fa),正體現了(le)wxWidgets的(de)(de)強(qiang)大。以前Borland C++Builder X宣(xuan)稱基于(yu)wxWidgets開(kai)發(fa)跨平臺、兼容性好、最優秀的(de)(de)C++ IDE環境,但沒(mei)有實(shi)現;讓(rang)我們(men)拭目(mu)以待。國(guo)內的(de)(de)Code::Blocks愛好者(zhe)和(he)跨平臺開(kai)發(fa)員應(ying)該盡(jin)快建立中(zhong)文(wen)Code::Blocks網站,提供Code::Blocks中(zhong)文(wen)化支持,促進Code::Blocks在國(guo)內的(de)(de)發(fa)展。