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

C/C++±àÒëÆ÷ cl.exeµÄÃüÁîÑ¡Ïî

ºÍÔÚIDEÖбàÒëÏà±È£¬ÃüÁîÐÐģʽ±àÒëËٶȸü¿ì£¬²¢¿ÉÒÔ±ÜÃâ±»IDE²úÉúµÄһЩ¸½¼ÓÐÅÏ¢Ëù¸ÉÈÅ¡£±¾ÎĽ«½éÉÜ΢ÈíC/C++±àÒëÆ÷ÃüÁîÐÐģʽÉ趨ºÍÓ÷¨¡£ 1¡¢ÉèÖû·¾³±äÁ¿£º PATH=C:\Program Files\Microsoft Visual Studio 8\VC\bin INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\include LIB=C:\Program Files\Microsoft Visual Studio 8\VC\lib Èç¹ûÌáʾÕÒ²»µ½mspdb80.dllÎļþ£¬Ôò´ÓC:\Program Files\Microsoft Visual Studio 8\Common7\IDEÏ¿½±´¡°msobj80.dll,mspdb80.dll,mspdbcore.dll,mspdbsrv.exe¡±ÕâËĸöÎļþµ½C:\Program Files\Microsoft Visual Studio 8\VC\binϼ´¿É¡£ 2¡¢ÃüÁîÑ¡Ï 1)       /C:ÔÚÔ¤´¦ÀíÊä³öÖб£Áô×¢ÊÍÓï¾ä 2)       /c:Ö»±àÒ룬²»Á¬½Ó£¬Ï൱ÓÚÔÚ"Build"²Ëµ¥ÏÂÑ¡ÔñÁË"Compile" 3)       /D:¶¨Òå³£Á¿ºÍºê£¬ÓëÔ´³ÌÐòÀïµÄ#define ÓÐÏàͬЧ¹û 4)       /E:Ô¤´¦ÀíC¡¢C£«£«Ô´Îļþ£¬½«Ô´ÎļþÖÐËùÓеÄÔ¤±àÒëÖ¸Áî¼°ºêÕ¹¿ª£¬½«×¢ÊÍÈ¥µô£¬È»ºó½«Ô¤´¦ÀíÆ÷µÄÊä³ö¿½±´ÖÁ±ê×¼Êä³öÉ豸Êä³ö£¬²¢ÇÒÔÚÿ¸öÎļþµÄ¿ªÍ·ºÍĩβ¼ÓÈë#line 5)       /EH:Ö¸¶¨±àÒëÆ÷ÓúÎÖÖÒì³£´¦ÀíÄ£ÐÍ 6)       /EP:ͬ/E,Ö»ÊÇÈ¥µôÁË#line 7)       /F:ÉèÖóÌÐòµÄ¶ÑÕ»´óС 8)       /FA:ÉèÖÃÉú³ÉºÎÖÖÁбíÎļþ£¨»ã±à¡¢»ã±àÓë»úÆ÷Âë¡¢»ã±àÓëÔ´Âë¡¢»ã±àÓë»úÆ÷ÂëÒÔ¼°Ô´Â룩 9)       /Fa:Ö¸¶¨ÓÃ/FAÉèÖõÄÁбíÎļþµÄ´æ·Å·¾¶¼°£¨»ò£©ÎļþÃû 10)  /FD:Éú³ÉÎļþµÄÏ໥ÒÀÀµÐÅÏ¢ 11)  /Fd:ÉèÖóÌÐòÊý¾Ý¿âÎļþ£¨PDB£©µÄ´æ·Å·¾¶¼°£¨»ò£©ÎļþÃû 12)  /Fe:ÉèÖÃ×îÖÕ¿ÉÖ´ÐÐÎļþµÄ´æ·Å·¾¶¼°£¨»ò£©ÎļþÃû 13)  /FI:Ô¤´¦ÀíÖ¸¶¨µÄÍ·Îļþ£¬ÓëÔ´ÎļþÖеģ£includeÓÐÏàͬЧ¹û 14)  /Fm:´´½¨mapÎļþ 15)  /Fo:ÉèÖñàÒëºóObjÎļþµÄ´æ·Å·¾¶¼°£¨»ò£©ÎļþÃû 16)  /Fp:ÉèÖÃÔ¤±àÒëÎļþ£¨pch£©µÄ´æ·Å·¾¶¼°£¨»ò£©ÎļþÃû 17)  /FR:Éú³Éä¯ÀÀÐÅÏ¢£¨sbr£©Îļþ 18)  /Fr:ͬ/FR,²»Í¬Ö®´¦ÔÚÓÚ/Fr²»°üÀ¨¾Ö²¿±äÁ¿ÐÅÏ¢ 19)  /G3:Ϊ80386´¦ÀíÆ÷ÓÅ»¯´úÂëÉú³É 20)  /G4:Ϊ80486´¦ÀíÆ÷ÓÅ»¯´úÂëÉú³É 21)  /G5:ΪPentium´¦ÀíÆ÷Ó


Ïà¹ØÎĵµ£º

C/C++λ²Ù×÷

C/C++λ²Ù×÷
Ò»¡¢´«Í³µÄC·½Ê½Î»²Ù×÷£º
1.»ù±¾²Ù×÷£º
  ʹÓÃÒ»¸öunsigned int±äÁ¿À´×÷ΪλÈÝÆ÷¡£
2.²Ù×÷·û£º
|  °´Î»»ò²Ù×÷·û£ºresult=exp1|exp2;µ±exp1ºÍexp2ÖжÔӦλÖÐÖÁÉÙÓÐÒ»¸öΪ1ʱ£¬resultÖжÔӦλΪ1£¬·ñÔòΪ0¡£
&  °´Î»Óë²Ù×÷·û£º£ºresult=exp1&exp2;µ±exp1ºÍexp2ÖжÔӦλȫΪ1ʱ ......

C Traps and Pitfalls ¶ÁÊéÕª¼Ç

Óõ¥ÒýºÅÒýÆðµÄÒ»¸ö×Ö·ûʵ¼ÊÉÏ´ú±íÒ»¸öÕûÊý£¬ÕûÊýÖµ¶ÔÓ¦ÓÚ¸Ä×Ö·ûÔÚ±àÒëÆ÷²ÉÓõÄ×Ö·û¼¯ÖеÄÐòÁÐÖµ¡£
ÓÃË«ÒýºÅÒýÆðµÄ×Ö·û´®£¬´ú±íµÄÊÇÒ»¸öÖ¸ÏòÎÞÃûÊý×éÆðʼ×Ö·ûµÄÖ¸Õ룬¸ÃÊý×鱻˫ÒýºÅÖ®¼äµÄ×Ö·ûÒÔ¼°Ò»¸ö¶îÍâµÄ¶þ½øÖÆֵΪÁãµÄ×Ö·û'\0'³õʼ»¯¡£
printf("Hello world\n");
Óë
char hello[] = {'H', 'e', 'l', 'l', 'o', ' ' ......

ÈçºÎʹÓÃObjective C½âÎöHTMLºÍXML

ʹÓÃObjective-C½âÎöHTML»òÕßXML£¬ÏµÍ³×Ô´øÓÐÁ½ÖÖ·½Ê½Ò»¸öÊÇͨ¹ýlibxml£¬Ò»¸öÊÇͨ¹ýNSXMLParser¡£²»¹ýÕâÁ½ÖÖ·½Ê½¶¼ÐèÒª×Ô¼ºÐ´ºÜ¶à±àÂëÀ´´¦ÀíץȡÏÂÀ´µÄÄÚÈÝ£¬¶øÇÒ²»ÊǺÜÖ±¹Û¡£
ÓÐÒ»¸ö±È½ÏºÃµÄÀà¿âhpple£¬ËüÊÇÒ»¸öÇáÁ¿¼¶µÄ°ü×°¿ò¼Ü£¬¿ÉÒԺܺõĽâ¾öÕâ¸öÎÊÌâ¡£ËüÊÇÓÃXPathÀ´¶¨Î»ºÍ½âÎöHTML»òÕßXML¡£
°²×°²½Ö裺
-¼ÓÈë libx ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ