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

¶Á¡¶0 bug C/C++ÉÌÓù¤³ÌÖ®µÀ¡·——¼Ç¼1

Ò»¡¢³ÌÐòÕæÚÐ
1.³ÌÐò¾ÍÊÇ“°áÊý”
       ¶¯×÷£º¶ÁÈ¡——¼¼Êõ——д³ö£¨ÊäÈë——´¦Àí——Êä³ö£©
       Êý¾Ý½á¹¹¾ö¶¨Êý¾ÝÈçºÎ×éÖ¯£¬°á¶¯ÆðÀ´Ð§Âʽϸß
       Ëã·¨ÓïÑÔ¾ö¶¨ÁËÈçºÎ°áЧÂʽϸß
2.³ÌÐò¾ÍÊǓдÎÄÕ”
       Ë«¿É¶ÁÐÔ£º³ÌÐòÔ±ÔĶÁÎÞÕÏ°­¡¢¼ÆËã»úÔĶÁÎÞ´íÎó
3.³ÌÐò¾ÍÊÇ“¸´ÖÆ”
       ½¨Á¢×Ô¼º³£Óù¤³Ì³ÌÐò¿â£¬½«³£ÓÃËã·¨ºÍ³ÌÐò¾­¹ý¶àÄê×ܽáºÍ¹éÄÉ£¬Ê¹Ö®¾ßÓи߿ÉÓÃÐԺ͸ßÕýÈ·ÐÔ£¬ÔÚºóÆÚ¹¤×÷ʱ¿ÉÖ±½Ó“¸´ÖÆ”£¬»º½â¹¤×÷ѹÁ¦
¶þ¡¢¶¨Ãû
1.º¯ÊýÃüÃûÔ­Ôò
1)Ê××Öĸ´óд
2)º¯ÊýÃû¿ÉºÜ³¤£¬Òª±íÒâÇåÎú
3)ÎÞ²ÎÊýµÄº¯ÊýÔÚÀ¨ºÅÄÚʹÓÃvoid
2.±äÁ¿ÃüÃûÔ­Ôò
1)ÒÔСдµÄËõдǰ׺ÏÔʾ˵Ã÷¸Ã±äÁ¿µÄÀàÐÍ£¬ÈçnCount£¬pBuffer
2)¶ÔÓÚ²»Í¬×÷ÓÃÓòµÄ±äÁ¿£¬ÈçÀà³ÉÔ±±äÁ¿ºÍÈ«¾Ö±äÁ¿£¬±ØÐëÒÔÏÔʽµÄm_ºÍg_ǰ׺Çø·Ö
3)±äÁ¿Ãû±íÒâÒªÇåÎú
4)±äÁ¿ÔÚº¯ÊýʹÓùý³ÌÖÐÑϽûתÒå
5)¾²Ì¬Êý×éÖ¸ÕëÒÔszΪǰ׺£¬²»ÐèÒªºóÐø³ÌÐòÊÍ·Å
6)¶¯Ì¬ÉêÇëÖ¸ÕëÒÔpΪǰ׺£¬ÐèÒªºóÐø³ÌÐòÊÍ·Å
7)½á¹¹ÌåÄÚ²¿³ÉÔ±±äÁ¿ÓÃm_×÷ǰ׺
8)ÐÙÑÀÀûÃüÃû·¨³£ÓõıäÁ¿Ç°×º
       n            int
       c            char
       b            bool
       sz           ¾²Ì¬Êý×é
       p            ¶¯Ì¬Ö¸Õë
       us           unsigned short
       ui            unsigned int
       ul            unsi


Ïà¹ØÎĵµ£º

C/C++ ±ÊÊÔ¡¢ÃæÊÔÌâÄ¿´ó»ã×Ü£¨×ª£©

1.ÊDz»ÊÇÒ»¸ö¸¸ÀàдÁËÒ»¸övirtual º¯Êý£¬Èç¹û×ÓÀา¸ÇËüµÄº¯Êý²»¼Óvirtual ,Ò²ÄÜʵÏÖ¶à̬?
virtualÐÞÊηû»á±»ÒþÐμ̳еġ£private Ò²±»¼¯³É£¬Ö»ÊÂÅÉÉúÀàûÓзÃÎÊȨÏÞ¶øÒÑ¡£virtual¿É¼Ó¿É²»¼Ó¡£×ÓÀàµÄ¿Õ¼äÀïÓи¸ÀàµÄËùÓбäÁ¿(static³ýÍâ)¡£Í¬Ò»¸öº¯ÊýÖ»´æÔÚÒ»¸öʵÌå(inline³ýÍâ)¡£×ÓÀา¸ÇËüµÄº¯Êý²»¼Óvirtual ,Ò²ÄÜʵÏÖ¶àÌ ......

C/C++ ±ÊÊÔ¡¢ÃæÊÔÌâÄ¿´ó»ã×Ü


1.ÇóÏÂÃ溯ÊýµÄ·µ»ØÖµ£¨ ΢Èí£©
int func(x)
{
    int countx = 0;
    while(x)
    {
          countx ++;
          x = x&(x-1);
    ......

¹¹½¨±Ê¼Ç£ºÎªjava hotspot vm´´½¨vc++¹¤³Ì

      Ê×ÏÈÏÂÔØopenjdk´úÂë°ü£¬http://download.java.net/openjdk/jdk7/£¬ÕâÀïÏÂÔصÄÊǵ±Ç°µÄ×îа汾b94£¬openjdk-7-ea-src-b94-20_may_2010.zip¡£       ½âѹËõopenjdk-7-ea-src-b94-20_may_2010.zipµ½D:\JVM¡£ÔÚD:\JVM\openjdkÏ´ò¿ªREADME-builds.htmlÎļþ¡£° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ