ÓÃEclipse CDT ÅäÖà C/C++ ±àÒë»·¾³
1¡¢Java JDKµÄ°²×°
EclipseÊÇÒ»¿î¿çƽ̨µÄ¹¤¾ß£¬Ö»ÐèÒª»ù±¾µÄjavaÐéÄâ»ú¾Í¿ÉÒÔÔËÐС£
°²×°Java
SDKºÜ¼òµ¥¡£µ½http://java.sun.comÉÏÕÒµ½ÊʺÏÄãµÄ²Ù×÷ϵͳµÄJava
JDK°²×°³ÌÐò£¬ÏÂÔØÖ®²¢ÔËÐУ¬Java SDK¾Í»á°²×°µ½ÄãµÄϵͳÖС£
×¢Ò⣬¸ü¸ß°æ±¾µÄEclipseÐèÒª¸ü¸ß°æ±¾µÄJava JDK¡£
2¡¢Eclipse¼°CDTµÄ°²×°
µ½EclipseµÄ¹Ù·½ÍøÕ¾http://www.eclipse.org
ÉÏ
ÏÂÔØEclipse¡£
°²×°CDT¡£CDTµÄÈ«³ÆÊÇC/C++ Development
Tools£¬ÊÇʹEclipseÄܹ»Ö§³ÖC/C++¿ª·¢µÄ²å¼þ¡£½øÈëCDTµÄ¹Ù·½ÍøÕ¾£¬http://www/eclipse.org/cdt
£¬È»ºóÑ¡ÔñÒ»¸ö¾µ
ÏñÕ¾µã·Ö±ðÏÂÔØCDT¡£ÏÂÔØÍê³Éºó£¬½«ÕâÁ½¸öѹËõ°ü½âѹµ½EclipseµÄĿ¼ÖС£
£¨Ò²¿ÉÒÔÔÚ°²×°ÍêEclipseºó£¬Í¨¹ýEclipseµÄÈí¼þ¸üй¦ÄÜ°²×°CDT£¬¾ßÌå²½Öè¿ÉÒԲο¼EclipseµÄÔÚÏßÎĵµ¡££©
3¡¢°²×°MinGW
ÏÖÔÚÕâ¸öC/C++
IDE»¹²»ÄÜ¿ª¶¯£¬ÒòΪȱÉÙÁËÖØÒªµÄ²¿¼þ¡£Õâ¸ö²¿¼þ¾ÍÊÇC/C++µÄ±àÒëÆ÷¡£ÔÚWindows
OSÏÂÎÒÃÇ¿ÉÒÔÑ¡ÔñMinGW¡£µ½MinGWµÄÍøÕ¾http://mingw.sourceforge.net
ÉÏ£¬
ÏÂÔØMinGW£¬°²×°¡£ÎªÁËÒÔºó·½±ãʹÓ㬴´½¨Ò»¸öÅú´¦ÀíÎļþ£º
°²×°ºó£¬ÒªÅäÖÃϵͳ»·¾³±äÁ¿
ÓÒ¼üÎҵĵçÄÔ->ÊôÐÔ->¸ß¼¶->»·¾³±äÁ¿->
ÔÚPATH±äÁ¿µÄ×îÇ°Ôö¼Ó MinGW°²×°Ä¿Â¼\bin
ÕâÀïÓÐÒ»¸öÐèҪעÒâµÄµØ·½£¡£¡
ÒòΪEclipseÔ¤ÉèÓÃÀ´±àÒëµÄÎļþΪ make.exe µ«ÊÇ
MinGw
°²×°ºó make µÄÎļþÃûÊÇ
mingw32-make.exe
Òò´ËÐèÒª°Ñ mingw32-make ¸ÄÃûΪ make!
4.°²×°gdb¡£³ÌÐòÔ±×îÖØÒªµÄÊÇÒª»áµ÷ÊÔ£¬ËùÒÔgdb±Ø²»¿ÉÉÙ£¬ÏÂÔصØÖ·£ºhttp://downloads.sourceforge.net/project/mingw/GNU%20Source-Level%20Debugger/Release%20Candidate_%20GDB%206.8-3/gdb-6.8-mingw-3.tar.bz2?use_mirror=cdnetworks-kr-2
£¬
½âѹÒԺ󣬽«ÀïÃæµÄ¸÷Îļþ¼Ð¸´ÖƵ½MinGWµÄ°²×°Ä¿Â¼½øÐи²¸Ç¼´¿É¡£
ÏÖÔÚÒѾ´ó¹¦¸æ³ÉÁË¡£¸Ï¿ìʹÓðɡ£
Ïà¹ØÎĵµ£º
freadº¯ÊýºÍfwriteº¯Êý
1.º¯Êý¹¦ÄÜ
ÓÃÀ´¶Áдһ¸öÊý¾Ý¿é¡£
2.Ò»°ãµ÷ÓÃÐÎʽ
fread(buffer,size,count,fp);
fwrite(buffer,size,count,fp);
3.˵Ã÷
£¨1£©buffer£ºÊÇÒ»¸öÖ¸Õ룬¶ÔfreadÀ´Ëµ£¬ËüÊǶÁÈëÊý¾ÝµÄ´æ·ÅµØÖ·¡£¶ÔfwriteÀ´Ëµ£¬ÊÇÒªÊä³öÊý¾ÝµÄµØÖ·¡£
£¨2£©size£ºÒª¶ÁдµÄ×Ö½ÚÊý ......
[C/C++ Digestion] –
×Ôµ×ÏòÉϵØ̽¾¿Ð麯Êý
×÷Õߣº
Jason Lee @
http://blog.csdn.net/jasonblog
ÈÕÆÚ£º
2010-05-19
»·¾³£º
Visual C++ Express
2008
ÉùÃ÷£º±¾ÎÄ·¢±íÔÚ
csdn
²©¿Í£¬ÈçÓÐתÔØ£¬Çë×¢Ã÷³ö´¦
[1]C++
¶ÔÏóÄ£ÐÍ»ù´¡
Ò»¸öÀàÖпÉÒÔ°üº¬¾²Ì¬Êý¾Ý³ÉÔ±¡¢¾²Ì¬³ÉÔ±º¯Êý¡¢·Ç¾²Ì¬³ÉÔ±º¯Êýº ......
¡¡¡¡Óû§Ê¹ÓÃGhostÖØװϵͳ£¬¾³£³öÏÖ C D E F ...¶à¸ö·ÖÇø ±ä³ÉÒ»¸ö C·ÖÇø£¬Ôì³ÉÊý¾Ý¶ªÊ§£¬Õâʱ¾ÍÐèÒªÊý¾Ý»Ö¸´¹¤×÷¡£
¡¡¡¡ËäÈ»Õû¸öÓ²Å̱ä³ÉÁËÒ»¸ö·ÖÇø£¬µ«Í¨¹ýÊý¾Ý»Ö¸´¼¼Êõ¿ÉÒÔÊdzýÔÀ´µÄC·ÖÇøÍ⣬ÆäËü´ÅÅÌ·ÖÇøµÄÊý¾Ý¶¼Äܱ»»Ö¸´¡£
ÏÂÃæÎÒÃÇÀ´¿´ÈçºÎÀ´»Ö¸´£º
ÕâÀïÎ ......
OpenGL + C++ + Java
Õâ¸ö×éºÏÓÐÒ»µãÆæ¹Ö£¬ÒòΪҪʵÏÖÔÚ
opengl
Öв¥·ÅÊÓƵ£¬ËùÒÔ²»µÃ²»ÓÐÕâÑùÆæ¹ÖµÄ×éºÏ¡£ÉϲãµÄ
MediaPlayer
·â×°µÄ»ù±¾ÉÏÊÇÕë¶Ô
android UI
µÄ¿ò¼Ü£¬Èç¹ûÏëÔÚ
opengl
ÖÐÏÔʾ£¬¹À¼ÆÄѶȺܴó¡£ÁíÍ⣬ºÜ¶à¿ªÔ´µÄ
opengl
µÄÓÎÏ·»ù±¾É϶¼ÊÇ
C++
±àд£¬ËùÒÔÕâ¸öÌåϵµÄ×÷Óû¹ÊǺܴóµÄ£¬Ö®ËùÒÔÐè ......