ÓÃEclipse´î½¨C/C++¿ª·¢Æ½Ì¨
̸µ½EclipseÕâ¸ö¿ªÔ´IDE£¬´ó¼Ò¶¼»áDZÒâʶµØ°ÑËüºÍJAVA¿ª·¢ÁªÏµÆðÀ´¡£Ã»´í£¬EclipseÓÃÓÚJAVA applicationµÄ¿ª·¢ÊÇÄ¿Ç°µÄÖ÷Á÷£¬¶øÇÒËü±¾ÉíÒ²ÊÇÐèÒªJRE²ÅÄÜÔËÐеģ¬Òò¶øÎÞÂÛÔõô¿´Eclipse¶¼ÓëJAVAÓÐÃܲ»¿É·ÖµÄÁªÏµ¡£ µ«Êµ¼ÊÉÏEclipseÖ»ÊÇÒ»¸ö¿ª·¢»·¾³£¬Ò»¸öΪ³ÌÐòÔ±ÌṩµÄ¿ò¼Ü£¬ÓëÓïÑÔ²¢ÎÞÖ±½ÓÁªÏµ¡£×Ô´Ó2001ÄêIBM½«Eclipse¾èÏ׳öÀ´ºó£¬¸ÃÏîÄ¿µÃµ½Á˼«´ó·¢Õ¹£¬Ö±ÖÁÄ¿Ç°´úºÅΪGALILEOµÄ×îа汾¡£¸üΪÖØÒªµÄÊÇ£¬ËüµÃµ½Á˱³ºó²å¼þ¿ª·¢Ç¿ÓÐÁ¦µÄÖ§³Ö£¬Òò¶ø¹¦ÄܸüÇ÷ÓÚÍêÉÆ¡£ÉõÖÁ£¬Í¨¹ýÏòEclipse¼ÓÈëCDT plug-in£¬ÎÒÃÇ¿ÉÒÔÔÚ¸Ãƽ̨Ï´ÓÊÂC/C++³ÌÐòµÄ¿ª·¢£¬ÕâÎÞÒÉÓַḻÁËÎÒÃǶԿª·¢Æ½Ì¨µÄÑ¡Ôñ¡£
ÒÔÇ°ÔÚWindows»·¾³ÏÂдC/C++³ÌÐòÒ»Ö±ÓõĶ¼ÊÇVisual Studio£¬µ«½üЩÄêMicrosoft¶ÔIDEµÄ¸Ä½øÖØÐĶ¼ÔÚ.NET FrameworkÉÏ£¬C++ûÓеõ½Ó¦ÓеÄÖØÊÓ¡£Ã»Óй¤³ÌÄ£°å£¬ÖÇÄÜÌáʾ²»ÍêÉÆ£¬ÒÔÖÂÓڸоõÓÃVisual Studio±à¼C++³ÌÐòºÍÓüÇʱ¾Ã»É¶Çø±ð£¬µÄÈ·ºÜ¿É±¯¡£×òÌìMicrosoftÕýʽ·¢²¼ÁËVisual Studio 2010Õýʽ°æ£¬ÊÔÓøоõ¸Ä½øͦ³öÉ«£¬µ«ÊÇÕâ¼Ò»ïÕ¼ÓõÄϵͳ¿Õ¼äʵÔÚÌ«´ó£¬ÅªµÃÎÒÓÖÊÇɾ³ýVS2008ÓÖÊÇÖØÐÂÓ²ÅÌ»®Çø¡£Ö®Ç°×°¹ýCygwin£¬¼òµ¥µÄ³ÌÐòÓÃGCC»òÊÇG++±àÒëÊǸö·Ç³£²»´íµÄÑ¡Ôñ£¬µ«³ÌÐòÒ»µ©¸´ÔÓÆðÀ´debugÆðÀ´±Ï¾¹»¹ÊDz»Ì«·½±ã¡£ÓÚÊǾÍÏëÓÐûÓÐÒ»¸öÇáÁ¿¼¶µ«¹¦ÄÜÓÖ×ã¹»ÍêÉƵÄIDE¿É¹©Ñ¡ÔñÄØ? ÕâʱºòEclipse´ÓÄÔº£ÖÐÉÁ¹ý~
´Ó¹ÙÍøÏÂÔؼòµ¥£¬µ«ÊÇconfig»¹Êǵ¹ÌÚÁ˺ܾᣠµ±ÖÐÅöµ½²»ÉÙÎÊÌ⣬ È»ºóÉÏÍøËѽâ¾ö·½°¸£¬µ«¼¸ºõ¶¼ÊÇǧƪһÂɵسÀ´³È¥£¬¶Ô¹Ø¼üµØ·½º¬ºýÆä´Ç¡£µ«×îºó»¹ÊÇ°ÑC/C++¿ª·¢»·¾³´î½¨ºÃÁË£¬ÏÂÃæ˵˵Ïêϸ¹ý³Ì£¬Ö®ÖÐÓöµ½µÄÎÊÌâÒÔ¼°½â¾ö°ì·¨¡£
Ê×ÏÈ˵һÏÂϵͳ»·¾³£¬ÎÒÓõÄÊÇWindows Vista SP2 32bit£¬´Ó¹ÙÍø http://www.eclipse.org/downloads/
ÉÏÏÂÔØʱעÒâÑ¡ÔñÊʺÏ×Ô¼ºµÄ²Ù×÷ϵͳµÄ°æ±¾£¬Eclipse¿ÉÊÇÒ»¸ö¿çƽ̨µÄ¿ª·¢»·¾³¡£
´ÓÏÂÔØÁбíÉÏÎÒÃÇ¿ÉÒÔ¿´µ½×ªÎªC/C++¿ª·¢ÕßÌṩµÄIDE°æ±¾"Eclipse
IDE for C/C++ Developers", ¾ÍÊÇËüÁË£¬ÀïÃæ×Ô´øÁËCDT²å¼þ¡£Ë³±ã˵һÏÂʲôÊÇCDT¡£CDTÊÇC/C++ Development ToolsµÄËõд£¬ÊÇ»ùÓÚEclipseƽ̨µÄÒ»¿îµÚÈý·½²å¼þ£¬ÌṩÁ˶ÔC/C++³ÌÐò¿ª·¢µÄÍêÈ«Ö§³Ö£¬Òò¶øÊDZز»¿ÉÉٵġ£ÌÈÈôÔÀ´¾Í°²×°¹ýÕë¶ÔJAVA¿ª·¢µÄEclipse°æ±¾£¬ÕâÀïµÄ½â¾ö°ì·¨ÊÇÖ±½ÓÏÂÔØCDTÕâ¸öºËÐIJå¼þ£¬²å¼þµÄ°²×°´óÖÂÓÐÁ½ÖÖ°ì·¨£º
Ò»ÖÖÊÇ×Ô¶¯°²×°¡£´ÓHelpÏîµÄÏÂÀÁбíÖÐÑ¡ÔñInsatall New Software£¬ÔÚµ¯³öµÄ´°¿ÚÖе¥»÷Add£¬Ö®ºóÕÒµ½CDT²å¼þµÄURLµØÖ·ºó¸´ÖÆÕ³
Ïà¹ØÎĵµ£º
http://www.trendcaller.com/2009/05/hadoop-should-target-cllvm-not-java.html
Sunday, May 10, 2009
Hadoop should target C++/LLVM, not Java (because of watts)
< type="text/javascript">
digg_url="http://www.trendcaller.com/2009/05/hadoop-should-target-cllvm-not-java.html";
Over the years, ......
ʹÓà gperf ʵÏÖ¸ßЧµÄ C/C++ ÃüÁîÐд¦Àí
GNU ÍêÃÀ£¨gperf£©É¢Áк¯ÊýÉú³ÉÆ÷¼ò»¯¸´ÔÓµÄÊäÈë×Ö·û´®
ÎĵµÑ¡Ïî
¼¶±ð£º Öм¶
Arpan Sen
(arpan@syncad.com
), ¼¼ÊõÖ÷¹Ü, Synapti Computer Aided Design Pvt Ltd
2007 Äê 9 ÔÂ 10 ÈÕ
GNU µÄ gperf ¹¤¾ßÊÇÒ»ÖÖ “ÍêÃÀµÄ” É¢Áк¯Êý£¬¿ÉÒÔΪÓû§ÌṩµÄÒ»×éÌØ ......
ÎÊÌâµÄÌá³ö
¡¡¡¡¶à¹úÓïÑԵĴæÔÚ¡¢²»Í¬ÓïÑÔ²Ù×÷ϵͳµÄ´æÔÚ£¬Ê¹µÃÕë¶Ô¶àÓïÑÔµÄÉè¼ÆÆÄ·ÑÖÜÕ£¬ÔÚ±àÂëÉÏËù¸¶³öµÄ¹¤×÷Á¿Ò²Êǿɹ۵ġ£Ëùν±àÂëµÄÎÊÌ⣬¹é½áÆðÀ´£¬¾ÍÊǶþ½øÖƵıàÂëÒÔºÎÖÖ±àÂë¸ñʽ½øÐнâÎöµÄÎÊÌâ¡£ÌرðÊÇÔÚÓ²ÅÌÎļþºÍÄÚ´æÊý¾ÝµÄÏ໥ת»¯¡¢¼´¶Áд¹ý³ÌÖУ¬Èç¹û²ÉÓÃÁË´íÎóµÄ±àÂë¸ñʽ£¬¾Í»áÔì³ÉÂÒÂë¡£JAVA ÓïÑÔÔÚ×Ö·û´ ......
Cר¼Ò±à³Ì ¾«±àÖ®Ò» µÚÒ»ÕÂ~µÚÈýÕÂ
CµÄ¸´ÔÓÖ®´¦ ÔÚÓÚËüµÄÖ¸Õë ,µ«ÊDZÈÆäÖ¸Õë¸üΪ¸´ÔÓµÄÊÇËüµÄÉùÃ÷ !!!
ÄãÄÜ¿´¶®ËüÃǵÄÒâ˼ Âð?
apple=sizeof(int)*p ; apple=sizeof * p;
j= (char (*)[20])malloc(20);
int const * grape; Óë int * const gr ......
/*FIXME
ISO CÈç¹ûÄãÔÚmain()ÖÐд´úÂëµÄÖм䶨ÒåÁËÒ»¸ö¶ÔÓÚmain¶øÑÔµÄÈ«¾Ö±äÁ¿£¬¾Í»á±¨³öÕâ¸ö´íÎó¡£
*/
°ÑÕâ¸ö±äÁ¿¶¨Òåµ½mainº¯ÊýÖеÄ×îÇ°·½£¬¾Í»áÐÞÕýÕâ¸ö´íÎó¡£
¶øÇÒΪÁË·ÀÖ¹³ö´í£¬É趨µÄÖ¸ÕëÖ®ºóÔÙÓвÎÊý´«ÈëmallocÖ®ºóÁ¢¼´¶ÔÓÚÖ¸ÕëÓèÒÔ¿Õ¼äµÄ´´½¨¡£·ÀÖ¹³öÏÖÖ¸Õëδ³õʼ»¯´Ó¶øÒýÆð½«À´¸³ÖµµÄʱºò½«¸ÃÖµ¸²¸ÇÁËÒѾΪ±¾ ......