Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Window+GCC+CDTÓÃEclipse¿ª·¢C¡¢C++

Eclipse³ýÁË¿ÉÒÔ開發JavaÖ®Í⣬還Ö§Ô®ÁË許¶à語ÑÔ£¬現ÔÚÏȽé紹
C¡¢C++µÄ開發環¾³設¶¨£¬ÒÔááÓÐ機會ÔÙ½é紹ÆäËüµÄ¡£Enjoy it£¡
OS£ºWindows XP Professional SP1
ʹÓð汾£ºEclipse 2.1.2
Ò».Ê×ÏÈÒªÏÂ載CDT£¬Eclipse 2.1.2ʹÓÃÕߣ¬請ÏÂ載這項£º
CDT 1.2 Full for Windows R2.1.1
1.2.0 GA - Full - Windows¡£
Eclipse 2.1.3ʹÓÃÕß請ÏÂ載£ºCDT 1.2.1¡£
Eclipse 3.0
M7ʹÓÃÕß請ÏÂ載£ºCDT 2.0 M7¡£
Eclipse 3.0 M8ʹÓÃÕß請ÏÂ載£ºCDT 2.0 M8¡£
Eclipse 3.0
M9ʹÓÃÕß請ÏÂ載£ºCDT 2.0 M9¡£
ÏÂ載網Ö·£ºhttp://www.eclipse.org/cdt/
°²裝£º將½â壓縮ááµÄfeatures¡¢pluginsÕû個資ÁÏ夾複製µ½Eclipse°²裝資ÁÏ
裡£¬ÖØÐÂ開啟Eclipse¼´¿É¡£
¶þ.ÏÂ載¿ÉÔÚWindowsÉÏʹÓõÄGNU C¡¢C++編譯Æ÷£¬這裡ÒªÏÂ載µÄÊÇ£ºMinGW¡£
Download頁ÃæºÜ長µÄÒ»´®£¬請選擇這個°æ±¾£º
MinGW bin MinGW-3.1.0-1.exe
14863 kb Sep 15, 2003 11:14
ÏÂ載網Ö·£ºhttp://www.mingw.org/download.shtml
°²裝£º°²裝Ä¿錄選C²Û£¬È»áá¿ñ點ÏÂÒ»²½(Next)¾ÍÐÐÁË¡£°²裝Íêáá·徑ÊÇ這
樣->C:\MinGW¡£
Èý.ÏÈÔÚCommand LineģʽÏÂ測試編譯與執ÐС£ÏÈ將C:\MinGW\binµ×ϵÄ
mingw32-make.exe¸üÃû為make.exe£¬Òò為´ý會ÔÚEclipseʹÓÃ時Ëü預設
會ץϵ統裡make這個檔Ãû¶ø²»ÊÇmingw32-make¡£
(註£ºÈç¹û²»¸üÃû»òÊÇ還ÓÐÆäËûmake³Ìʽ時£¬Ò²¿ÉÒÔÔÚÉÔááµÄEclipse設¶¨
ÖУ¬ÔÚmake targets
viewµÄµØ·½£¬ÐÂÔöÒ»個task時£¬build command È¡Ïû
use default , ʹÓà mingw32-make£¬»òÔÚproject
properties->make project ->
將make ¸Ä為 mingw32-make ) -- ÓÉ snpshu 補³ä¡£
ÔÚ環¾³變數裡¼ÓÈëÏÂÁÐ設¶¨£º
PATH £º


Ïà¹ØÎĵµ£º

C/C++¿ª·¢¾­ÑéÈ˲ÅÇë½ø£¡

ÉÏÖÜÀÏ°å·ÖÏÂÀ´6¸öְλÈí¼þ¿ª·¢·½ÃæµÄְλ¸øÎÒ£¬ÒªÎÒ°´Ö°Î»ÒªÇóÑ°ÕÒºÏÊʵÄÈ˲š£¾ÓÈ»ÊÇC/C++!¾ÝÎÒËùÖª£¬ÔÚÈ˲ſâÖУ¬JAVA È˲ŵ¹ÊÇÓ¦Óо¡ÓУ¬Ñ§CµÄ£¬»¹ÊÇǶÈëʽ¿ª·¢µÄ¿ÉÕæµÄºÃÉÙ°¡¡£ÎÒÓÖ²»ÊÇŮ洣¬ÄѵÀÎÒ»áÔìÈ˲Åô£¿ÒªÇóÌõ¼þ»¹Õâô¸ß£¡
ÒÔÏÂÊÇ´óÁ¬Èí¼þÔ°¼¸¼ÒÖªÃûÍâÆóίÍÐÎÒÃÇÕÐƸµÄְλÐÅÏ¢¡£
Position 1 Èí¼þ¿ª·¢¹¤³Ìʦ ......

symbian Open C and Open C++ Ïà¹Ø

nokia wiki£ºhttp://developer.symbian.org/wiki/index.php/Open_C_and_Open_C%2B%2B_Technical_Overview/zh-hans
symbianÉÏ¿ª·¢opencʱÐèҪעÒâµÄÎÊÌâ
http://blog.csdn.net/sizhiguo/archive/2009/05/21/4206138.aspx
µÚÒ»£ºÈçprintf¡¢sprint¡¢Îļþ²Ù×÷¡¢socket²Ù×÷µÈ£¬Ä£ÄâÆ÷ÆÁÄ»¶¼»á³öÏÖ°×ÆÁµÈ´ý£¬²¢ÇÒÊÇÒ»Ö±ÏÂÈ¥¡£ ......

linux C forkº¯Êý

´´½¨Ð½ø³Ì£ºforkº¯Êý
1.1.1. forkº¯Êý¸Éʲô£¿
     #include <sys/types.h>
     #include <unistd.h>
     pid_t fork(void);
      ‘fork()’º¯ÊýÓÃÓÚ´ÓÒÑ´æÔÚ½ø³ÌÖд´½¨Ò»¸öнø³Ì¡£Ð½ø³Ì³ÆΪ×Ó½ ......

"extern C", ÄãÕæµÄ¶®ÁËÂð£¿

       ÔÚc++ primeÊéÖп´µ½¹ý£¬ÔÚDLLºÍlibÖп´µ½¹ý£¬µ«ÊÇÿ´Î¿´¹ý¾Í²»ÇóÉõ½âµØһɨ¶ø¹ý¡£ÐÄÀïÖªµÀÓÐextern cÕâ¸öÓï¾ä£¬È´²»ÖªµÀ¸ÃÓÃÔÚÄÄÀÓÖÄÜÆðµ½Ê²Ã´×÷Óᣰ¦£¬ÏëÏë×Ô¼ºÒ²ËãÊÇд¹ý²»ÉÙCODEµÄÈËÁË£¬¿ÉÕâÖÖÑÛ¸ßÊֵ͵Ä벡ȴ´Óû¸Ä±ä¹ý¡£½ñÌìͻȻÏëÆðexternÕâ¸ö¹Ø¼ü×Ö£¬Ëì¾ö¶¨²»ÄÜÔÙÕâôÀË ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ