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

Linux ÏÂc/c++ ±àÒëÆ÷

Gcc¼ò½é
LinuxϵͳϵÄgcc£¨GNU C Compiler£©ÊÇGNUÍƳöµÄ¹¦ÄÜÇ¿´ó¡¢ÐÔÄÜÓÅÔ½µÄ¶àƽ̨±àÒëÆ÷£¬ÊÇGNUµÄ´ú±í×÷Æ·Ö®Ò»¡£gccÊÇ¿ÉÒÔÔÚ¶àÖÖÓ²Ìåƽ̨ÉϱàÒë³ö¿ÉÖ´ÐгÌÐòµÄ³¬¼¶±àÒëÆ÷£¬ÆäÖ´ÐÐЧÂÊÓëÒ»°ãµÄ±àÒëÆ÷Ïà±Èƽ¾ùЧÂÊÒª¸ß20%~30%¡£
gcc ±àÒëÆ÷Äܽ«C¡¢C++ÓïÑÔÔ´³ÌÐò¡¢»ã³Ìʽ»¯ÐòºÍÄ¿±ê³ÌÐò±àÒë¡¢Á¬½Ó³É¿ÉÖ´ÐÐÎļþ£¬Èç¹ûûÓиø³ö¿ÉÖ´ÐÐÎļþµÄÃû×Ö£¬gcc½«Éú³ÉÒ»¸öÃûΪa.outµÄÎļþ¡£ ÔÚLinuxϵͳÖУ¬¿ÉÖ´ÐÐÎļþûÓÐͳһµÄºó׺£¬ÏµÍ³´ÓÎļþµÄÊôÐÔÀ´Çø·Ö¿ÉÖ´ÐÐÎļþºÍ²»¿ÉÖ´ÐÐÎļþ¡£¶øgccÔòͨ¹ýºó׺À´Çø±ðÊäÈëÎļþµÄÀà±ð£¬ÏÂÃæÎÒÃÇÀ´½éÉÜgccËù×ñÑ­µÄ²¿·ÖÔ¼¶¨¹æÔò¡£
 
.cΪºó׺µÄÎļþ:  CÓïÑÔÔ´´úÂëÎļþ£»
.aΪºó׺µÄÎļþ:  ÊÇÓÉÄ¿±êÎļþ¹¹³ÉµÄµµ°¸¿âÎļþ£»
.C£¬.cc»ò.cxx Ϊºó׺µÄÎļþ:    ÊÇC++Ô´´úÂëÎļþ£»
.hΪºó׺µÄÎļþ:  ÊdzÌÐòËù°üº¬µÄÍ·Îļþ£»
.i Ϊºó׺µÄÎļþ: ÊÇÒѾ­Ô¤´¦Àí¹ýµÄCÔ´´úÂëÎļþ£»
.iiΪºó׺µÄÎļþ: ÊÇÒѾ­Ô¤´¦Àí¹ýµÄC++Ô´´úÂëÎļþ£»
.mΪºó׺µÄÎļþ:  ÊÇObjective-CÔ´´úÂëÎļþ£»
.oΪºó׺µÄÎļþ:  ÊDZàÒëºóµÄÄ¿±êÎļþ£»
.sΪºó׺µÄÎļþ:  ÊÇ»ã±àÓïÑÔÔ´´úÂëÎļþ£»
.SΪºó׺µÄÎļþ:  ÊǾ­¹ýÔ¤±àÒëµÄ»ã±àÓïÑÔÔ´´úÂëÎļþ¡£
 
gccµÄÖ´Ðйý³Ì
ËäÈ»ÎÒÃdzÆgccÊÇCÓïÑԵıàÒëÆ÷£¬µ«Ê¹ÓÃgccÓÉCÓïÑÔÔ´´úÂëÎļþÉú³É¿ÉÖ´ÐÐÎļþµÄ¹ý³Ì²»½ö½öÊDZàÒëµÄ¹ý³Ì£¬¶øÊÇÒª¾­ÀúËĸöÏ໥¹ØÁªµÄ²½Öè¡ÃÔ¤´¦Àí(Ò²³Æ Ô¤±àÒ룬Preprocessing)¡¢±àÒë(Compilation)¡¢»ã±à(Assembly)ºÍÁ¬½Ó(Linking)¡£
ÃüÁî gccÊ×Ïȵ÷ÓÃcpp½øÐÐÔ¤´¦Àí£¬ÔÚÔ¤´¦Àí¹ý³ÌÖУ¬¶ÔÔ´´úÂëÎļþÖеÄÎļþ°üº¬(include)¡¢Ô¤±àÒëÓï¾ä(Èçºê¶¨ÒådefineµÈ)½øÐзÖÎö¡£½Ó×ŵ÷ ÓÃcc1½øÐбàÒ룬Õâ¸ö½×¶Î¸ù¾ÝÊäÈëÎļþÉú³ÉÒÔ.oΪºó׺µÄÄ¿±êÎļþ¡£»ã±à¹ý³ÌÊÇÕë¶Ô»ã±àÓïÑԵIJ½Ö裬µ÷ÓÃas½øÐй¤×÷£¬Ò»°ãÀ´½²£¬.SΪºó׺µÄ»ã±àÓïÑÔ Ô´´úÂëÎļþºÍ»ã±à¡¢.sΪºó׺µÄ»ã±àÓïÑÔÎļþ¾­¹ýÔ¤±àÒëºÍ»ã±àÖ®ºó¶¼Éú³ÉÒÔ.oΪºó׺µÄÄ¿±êÎļþ¡£µ±ËùÓеÄÄ¿±êÎļþ¶¼Éú³ÉÖ®ºó£¬gcc¾Íµ÷ÓÃldÀ´Íê³É×î ºóµÄ¹Ø¼üÐÔ¹¤×÷£¬Õâ¸ö½×¶Î¾ÍÊÇÁ¬½Ó¡£ÔÚÁ¬½Ó½×¶Î£¬ËùÓеÄÄ¿±êÎļþ±»°²ÅÅÔÚ¿ÉÖ´ÐгÌÐòÖеÄÇ¡µ±µÄλÖã¬Í¬Ê±£¬¸Ã³ÌÐòËùµ÷Óõ½µÄ¿âº¯ÊýÒ²´Ó¸÷×ÔËùÔڵĵµ°¸¿âÖÐ Á¬µ½ºÏÊʵĵط½¡£
gccµÄ»ù±¾Ó÷¨ºÍÑ¡Ïî
ÔÚʹÓÃgcc±àÒëÆ÷µÄʱºò£¬ÎÒÃDZØÐë¸ø³öһϵÁбØÒªµÄµ÷ÓòÎÊýºÍÎļþÃû³Æ¡£gcc±àÒëÆ÷µÄµ÷ÓòÎÊý´óÔ¼ÓÐ100¶à¸ö£¬ÆäÖÐ


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

linuxÄÚºËÖÐusbϵͳÖ÷ÒªµÄÊý¾Ý½á¹¹

USB Äںˣ¨USBÇý¶¯£¬USBD £©´¦ÓÚϵͳµÄÖÐÐÄ£¬¶ÔÓÚËü½øÐÐÑо¿ÊÇÄܹ»½øÐÐUSBÇý¶¯¿ª·¢£¨°üÀ¨¿Í»§Çý¶¯ºÍÖ÷»úÇý¶¯£©µÄµÚÒ»²½¡£ËüΪ¿Í»§¶ËÇý¶¯ºÍÖ÷»ú¿ØÖÆÆ÷Çý¶¯ÌṩÁËÖ÷ÒªÊý¾Ý½á¹¹ºÍ½Ó¿Úº¯Êý£¬Ö÷ÒªÓÐËÄÀ๦ÄÜ£º¿Í»§¶ËÇý¶¯¹ÜÀí£¬USBÉ豸µÄÅäÖú͹ÜÀí£¬Ö÷»ú¿ØÖÆÆ÷µÄ¹ÜÀí£¬Ð­Òé¿ØÖÆÃüÁºÍÊý¾Ý´«ÊäµÄ¹ÜÀí¡£¾ßÌå´úÂëÖ÷Òª¼¯ÖÐÔÚ linux ......

REdHat Linux 5 JDKµÄ°²×°¼°»·¾³µÄÅäÖÃ

1.ÔÚsunµÄ¹Ù·½ÏÂÔØjdk-6u15-linux-i586.bin
2. chmod 755 jdk-6u15-linux-i586.bin
3. ./jdk-6u15-linux-i586.bin
4.´Ëʱ»á³öÏÖJDK
°²×°ÊÚȨЭÒé¡£¿ÉÒÔһ·°´Enter
ä¯ÀÀ¡£Èç¹ûµÈµÄ²»ÄÍ·³¿ÉÒÔÖ±½Ó°´Ctrl+C,
Ö±½Ó»á³öÏÖDo you agree to the above license terms? [yes or no]
µÄ×ÖÑù¡£ÊäÈëyes¼´¿É
5.ÉèÖû·¾³±äÁ¿:
a ......

VC++ Á¬½ÓMySQL Êý¾Ý¿â

°Ñmysql.h¸´ÖƵ½vcµÄĿ¼µÄincludeĿ¼ÏÂ
mysql.hÔÚÄãmysqlµÄ°²×°Ä¿Â¼ÏµÄincludeÀïÃæÈç:mysql\include
°Ñlibmysql.lib(ÔÚmysqlµÄ°²×°Ä¿Â¼Ï£¬ËÑË÷ϾÍÄÜÕÒµ½£©¸´ÖƵ½Õâ¸öĿ¼Ï£¨C:\Program Files\Microsoft Visual Studio 9.0\VC\lib£©£¬Òª²»Á¬½Ó»á³ö´í¡£
Èç¹û±àÒëÁ¬½Óʱ»¹Êdzö´í¡£¾Í°Ñlibmysql.lib¸´ÖƵ½ÄãÔ´³ÌÐòµÄÄ¿ ......

C#——C#ÖÐC/C++³ÌÐòԱҪעÒâµÄÎÊÌâ


1¡¢C/C++³ÌÐòÔ±Çë×¢Ò⣬²»ÄÜÔÚcaseÓï¾ä²»Îª¿Õʱ“ÏòÏÂÖ´ÐД¡£
2¡¢ÖµÀàÐͺÍÒýÓÃÀàÐÍÖ®¼äµÄÇø±ð£ºC#µÄ»ù±¾ÀàÐÍ£¨int£¬charµÈ£©¶¼ÊÇÖµÀàÐÍ£¬ÊÇÔÚÕ»Öд´½¨µÄ¡£¶ø¶ÔÏóÊÇÒýÓÃÀàÐÍ£¬´´½¨ÓÚ¶ÑÖУ¬ÐèҪʹÓùؼü×Önew¡£
3¡¢ÔÚC#ÖÐͨ¹ýʵÀý·ÃÎʾ²Ì¬·½·¨»ò³ÉÔ±±äÁ¿ÊDz»ºÏ·¨µÄ£¬»áÉú³É±àÒëÆ÷´íÎó¡£µ«ÊÇÎÒÃÇ¿ÉÒÔͨ¹ýÉùÃ÷Ëû ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ