¶Á¡¶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
Ïà¹ØÎĵµ£º
1.ÊDz»ÊÇÒ»¸ö¸¸ÀàдÁËÒ»¸övirtual º¯Êý£¬Èç¹û×ÓÀา¸ÇËüµÄº¯Êý²»¼Óvirtual ,Ò²ÄÜʵÏÖ¶à̬?
virtualÐÞÊηû»á±»ÒþÐμ̳еġ£private Ò²±»¼¯³É£¬Ö»ÊÂÅÉÉúÀàûÓзÃÎÊȨÏÞ¶øÒÑ¡£virtual¿É¼Ó¿É²»¼Ó¡£×ÓÀàµÄ¿Õ¼äÀïÓи¸ÀàµÄËùÓбäÁ¿(static³ýÍâ)¡£Í¬Ò»¸öº¯ÊýÖ»´æÔÚÒ»¸öʵÌå(inline³ýÍâ)¡£×ÓÀา¸ÇËüµÄº¯Êý²»¼Óvirtual ,Ò²ÄÜʵÏÖ¶àÌ ......
1.ÇóÏÂÃ溯ÊýµÄ·µ»ØÖµ£¨ ΢Èí£©
int func(x)
{
int countx = 0;
while(x)
{
countx ++;
x = x&(x-1);
  ......
Ê×ÏÈÏÂÔØ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Îļþ¡£° ......