Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : c++

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

1.ÊDz»ÊÇÒ»¸ö¸¸ÀàдÁËÒ»¸övirtual º¯Êý£¬Èç¹û×ÓÀา¸ÇËüµÄº¯Êý²»¼Óvirtual ,Ò²ÄÜʵÏÖ¶à̬?
virtualÐÞÊηû»á±»ÒþÐμ̳еġ£private Ò²±»¼¯³É£¬Ö»ÊÂÅÉÉúÀàûÓзÃÎÊȨÏÞ¶øÒÑ¡£virtual¿É¼Ó¿É²»¼Ó¡£×ÓÀàµÄ¿Õ¼äÀïÓи¸ÀàµÄËùÓбäÁ¿(static³ýÍâ)¡£Í¬Ò»¸öº¯ÊýÖ»´æÔÚÒ»¸öʵÌå(inline³ýÍâ)¡£×ÓÀา¸ÇËüµÄº¯Êý²»¼Óvirtual ,Ò²ÄÜʵÏÖ¶à̬¡£ÔÚ×ÓÀàµÄ¿Õ¼äÀÓи¸ÀàµÄ˽ÓбäÁ¿¡£Ë½ÓбäÁ¿²»ÄÜÖ±½Ó·ÃÎÊ¡£
--------------------------------------------------------------------------
2.ÊäÈëÒ»¸ö×Ö·û´®£¬½«ÆäÄæÐòºóÊä³ö¡££¨Ê¹ÓÃC++£¬²»½¨ÒéÓÃαÂ룩
#include <iostream>
using namespace std;
void main()
{
  char a[50];memset(a,0,sizeof(a));
  int i=0,j;
  char t;
  cin.getline(a,50,&apos;\n&apos;);
  for(i=0,j=strlen(a)-1;i<strlen(a)/2;i++,j--)
  {
   t=a[i];
      a[i]=a[j];
   a[j]=t;
  }
  cout<<a<<endl; 
}
//µÚ¶þÖÖ
string str;
cin>>str;
str.replace;
cout<<str;
------------------------------ ......

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

1.ÊDz»ÊÇÒ»¸ö¸¸ÀàдÁËÒ»¸övirtual º¯Êý£¬Èç¹û×ÓÀา¸ÇËüµÄº¯Êý²»¼Óvirtual ,Ò²ÄÜʵÏÖ¶à̬?
virtualÐÞÊηû»á±»ÒþÐμ̳еġ£private Ò²±»¼¯³É£¬Ö»ÊÂÅÉÉúÀàûÓзÃÎÊȨÏÞ¶øÒÑ¡£virtual¿É¼Ó¿É²»¼Ó¡£×ÓÀàµÄ¿Õ¼äÀïÓи¸ÀàµÄËùÓбäÁ¿(static³ýÍâ)¡£Í¬Ò»¸öº¯ÊýÖ»´æÔÚÒ»¸öʵÌå(inline³ýÍâ)¡£×ÓÀา¸ÇËüµÄº¯Êý²»¼Óvirtual ,Ò²ÄÜʵÏÖ¶à̬¡£ÔÚ×ÓÀàµÄ¿Õ¼äÀÓи¸ÀàµÄ˽ÓбäÁ¿¡£Ë½ÓбäÁ¿²»ÄÜÖ±½Ó·ÃÎÊ¡£
--------------------------------------------------------------------------
2.ÊäÈëÒ»¸ö×Ö·û´®£¬½«ÆäÄæÐòºóÊä³ö¡££¨Ê¹ÓÃC++£¬²»½¨ÒéÓÃαÂ룩
#include <iostream>
using namespace std;
void main()
{
  char a[50];memset(a,0,sizeof(a));
  int i=0,j;
  char t;
  cin.getline(a,50,&apos;\n&apos;);
  for(i=0,j=strlen(a)-1;i<strlen(a)/2;i++,j--)
  {
   t=a[i];
      a[i]=a[j];
   a[j]=t;
  }
  cout<<a<<endl; 
}
//µÚ¶þÖÖ
string str;
cin>>str;
str.replace;
cout<<str;
------------------------------ ......

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


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

¼Ù¶¨x = 9999¡£ ´ð°¸£º8
˼·£º½«xת»¯Îª2½øÖÆ£¬¿´º¬ÓеÄ1µÄ¸öÊý¡£
2. ʲôÊÇ“ÒýÓÔ£¿ÉêÃ÷ºÍʹÓÓÒýÓÔҪעÒâÄÄЩÎÊÌ⣿
´ð£ºÒýÓþÍÊÇij¸öÄ¿±ê±äÁ¿µÄ“±ðÃû”(alias)£¬¶ÔÓ¦ÓõIJÙ×÷Óë¶Ô±äÁ¿Ö±½Ó²Ù×÷Ч¹ûÍêÈ«Ïàͬ¡£ÉêÃ÷Ò»¸öÒýÓõÄʱºò£¬ÇмÇÒª¶ÔÆä½øÐгõʼ»¯¡£ÒýÓÃÉùÃ÷Íê±Ïºó£¬Ï൱ÓÚÄ¿±ê±äÁ¿ÃûÓÐÁ½¸öÃû³Æ£¬¼´¸ÃÄ¿±êÔ­Ãû³ÆºÍÒýÓÃÃû£¬²»ÄÜÔٰѸÃÒýÓÃÃû×÷ΪÆäËû±äÁ¿ÃûµÄ±ðÃû¡£ÉùÃ÷Ò»¸öÒýÓ㬲»ÊÇж¨ÒåÁËÒ»¸ö±äÁ¿£¬ËüÖ»±íʾ¸ÃÒýÓÃÃûÊÇÄ¿±ê±äÁ¿ÃûµÄÒ»¸ö±ðÃû£¬Ëü±¾Éí²»ÊÇÒ»ÖÖÊý¾ÝÀàÐÍ£¬Òò´ËÒýÓñ¾Éí²»Õ¼´æ´¢µ¥Ôª£¬ÏµÍ³Ò²²»¸øÒýÓ÷ÖÅä´æ´¢µ¥Ôª¡£²»Äܽ¨Á¢Êý×éµÄÒýÓá£
3. ½«“ÒýÓÔ×÷Ϊº¯Êý²ÎÊýÓÐÄÄЩÌص㣿
£¨1£©´«µÝÒýÓøøº¯ÊýÓë´«µÝÖ¸ÕëµÄЧ¹ ......

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


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

¼Ù¶¨x = 9999¡£ ´ð°¸£º8
˼·£º½«xת»¯Îª2½øÖÆ£¬¿´º¬ÓеÄ1µÄ¸öÊý¡£
2. ʲôÊÇ“ÒýÓÔ£¿ÉêÃ÷ºÍʹÓÓÒýÓÔҪעÒâÄÄЩÎÊÌ⣿
´ð£ºÒýÓþÍÊÇij¸öÄ¿±ê±äÁ¿µÄ“±ðÃû”(alias)£¬¶ÔÓ¦ÓõIJÙ×÷Óë¶Ô±äÁ¿Ö±½Ó²Ù×÷Ч¹ûÍêÈ«Ïàͬ¡£ÉêÃ÷Ò»¸öÒýÓõÄʱºò£¬ÇмÇÒª¶ÔÆä½øÐгõʼ»¯¡£ÒýÓÃÉùÃ÷Íê±Ïºó£¬Ï൱ÓÚÄ¿±ê±äÁ¿ÃûÓÐÁ½¸öÃû³Æ£¬¼´¸ÃÄ¿±êÔ­Ãû³ÆºÍÒýÓÃÃû£¬²»ÄÜÔٰѸÃÒýÓÃÃû×÷ΪÆäËû±äÁ¿ÃûµÄ±ðÃû¡£ÉùÃ÷Ò»¸öÒýÓ㬲»ÊÇж¨ÒåÁËÒ»¸ö±äÁ¿£¬ËüÖ»±íʾ¸ÃÒýÓÃÃûÊÇÄ¿±ê±äÁ¿ÃûµÄÒ»¸ö±ðÃû£¬Ëü±¾Éí²»ÊÇÒ»ÖÖÊý¾ÝÀàÐÍ£¬Òò´ËÒýÓñ¾Éí²»Õ¼´æ´¢µ¥Ôª£¬ÏµÍ³Ò²²»¸øÒýÓ÷ÖÅä´æ´¢µ¥Ôª¡£²»Äܽ¨Á¢Êý×éµÄÒýÓá£
3. ½«“ÒýÓÔ×÷Ϊº¯Êý²ÎÊýÓÐÄÄЩÌص㣿
£¨1£©´«µÝÒýÓøøº¯ÊýÓë´«µÝÖ¸ÕëµÄЧ¹ ......

windows vistaϵÄgcc»·¾³ ¿ÉÓõÄc/c++±àÒëÆ÷

ÓùývistaµÄÅóÓѶ¼ÖªµÀ vista²»ÖªÓÉÓÚʲôԭÒòºÜ¶à±àÒëÈí¼þ¶¼²»ÄÜÕý³£¹¤×÷ÁË vs6.0È«²¿¶¼ËµÓÐÒÑÖªµÄ¼æÈÝÐÔÎÊÌâ´æÔÚ
µ±È»Äã¿ÉÒÔ×°ºÃ¼¸¸ögµÄvs2005
¹ÑÈËÒ»Ö±¶¼Ïë×ÔѧһÃżÆËã»úÓïÑÔ
µ«ÊÇ¿àÓÚÕÒ²»µ½±àÒëÆ÷
Á¬×î¼òµ¥µÄhellowold¶¼²»ÄÜÕý³£±àÒë
º¹
²»¶à˵
¿´ÎÒŪµÃ
×ÜËãÄÜÓÃÁË
1.ÏÂÔØMinGW
http://sourceforge.net/project/showfiles.php?group_id=2435
ßÀ
ÏÂÃæÊǵØÖ·
¸½¼þÖÐÒ²ÓÐ
ÕÒÆäËûµÄÍøÕ¾ÏÂÔØÒ²¿ÉÒÔ
È»ºó¾ÍÊÇ°²×° °´×Ų½Öè°²×°¾ÍºÃÁË ºÜ¼òµ¥ ÕâÀﻹ¿ÉÒÔÑ¡ÔñÆäËûµÄ±àÒëÆ÷ »¹ÓÐjavaµÄ±àÒëÆ÷
2.ÉèÖû·¾³±äÁ¿
ÎҵĵçÄÔÓÒ¼ü
ÊôÐÔ
È»ºóµã»÷”¸ß¼¶ÊôÐÔÉèÖÔ(Èçͼ1)
Ñ¡Ôñ¸ß¼¶Ñ¡Ï
»·¾³±äÁ¿
³öÏÖÈçͼ2 µÄ¶Ô»°¿ò
È»ºóË«»÷path ÔÚºóÃæÌí¼Ó E:\MinGW\bin (ÕâÀïÎÒÃǼÙÉè°²×°µ½ÁËeÅÌ)
È»ºó È»ºó¾ÍÍêÁË
3.²âÊÔ
´ò¿ªcmd ÊäÈëgcc»Ø³µ
Èç¹û³öÏÖÈçͼ3µÄ½á¹û ¾Í±íÃ÷³É¹¦ÁË
ÔÚ±àÒëһ϶«Î÷ÔËÐÐһϾÍÖªµÀ³É²»³É¹¦ÁË
......

windows vistaϵÄgcc»·¾³ ¿ÉÓõÄc/c++±àÒëÆ÷

ÓùývistaµÄÅóÓѶ¼ÖªµÀ vista²»ÖªÓÉÓÚʲôԭÒòºÜ¶à±àÒëÈí¼þ¶¼²»ÄÜÕý³£¹¤×÷ÁË vs6.0È«²¿¶¼ËµÓÐÒÑÖªµÄ¼æÈÝÐÔÎÊÌâ´æÔÚ
µ±È»Äã¿ÉÒÔ×°ºÃ¼¸¸ögµÄvs2005
¹ÑÈËÒ»Ö±¶¼Ïë×ÔѧһÃżÆËã»úÓïÑÔ
µ«ÊÇ¿àÓÚÕÒ²»µ½±àÒëÆ÷
Á¬×î¼òµ¥µÄhellowold¶¼²»ÄÜÕý³£±àÒë
º¹
²»¶à˵
¿´ÎÒŪµÃ
×ÜËãÄÜÓÃÁË
1.ÏÂÔØMinGW
http://sourceforge.net/project/showfiles.php?group_id=2435
ßÀ
ÏÂÃæÊǵØÖ·
¸½¼þÖÐÒ²ÓÐ
ÕÒÆäËûµÄÍøÕ¾ÏÂÔØÒ²¿ÉÒÔ
È»ºó¾ÍÊÇ°²×° °´×Ų½Öè°²×°¾ÍºÃÁË ºÜ¼òµ¥ ÕâÀﻹ¿ÉÒÔÑ¡ÔñÆäËûµÄ±àÒëÆ÷ »¹ÓÐjavaµÄ±àÒëÆ÷
2.ÉèÖû·¾³±äÁ¿
ÎҵĵçÄÔÓÒ¼ü
ÊôÐÔ
È»ºóµã»÷”¸ß¼¶ÊôÐÔÉèÖÔ(Èçͼ1)
Ñ¡Ôñ¸ß¼¶Ñ¡Ï
»·¾³±äÁ¿
³öÏÖÈçͼ2 µÄ¶Ô»°¿ò
È»ºóË«»÷path ÔÚºóÃæÌí¼Ó E:\MinGW\bin (ÕâÀïÎÒÃǼÙÉè°²×°µ½ÁËeÅÌ)
È»ºó È»ºó¾ÍÍêÁË
3.²âÊÔ
´ò¿ªcmd ÊäÈëgcc»Ø³µ
Èç¹û³öÏÖÈçͼ3µÄ½á¹û ¾Í±íÃ÷³É¹¦ÁË
ÔÚ±àÒëһ϶«Î÷ÔËÐÐһϾÍÖªµÀ³É²»³É¹¦ÁË
......

¹¹½¨±Ê¼Ç£ºÎª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Îļþ¡£°´ÕÕ¸ÃÎļþ˵Ã÷ÅäÖÃcygwin¡£³ýÁËĬÈÏÑ¡ÔñÖ®Í⣬»¹ÐèÒª°²×°ÒÔϹ¤¾ß£º      ½«C:/cygwin/bin¼ÓÈëµ½path»·¾³±äÁ¿Ï¡£Í¬Ê±ÅäÖúÃJava¿ª·¢Ïà¹ØµÄ»·¾³±äÁ¿(PathºÍClassPath)¡£ Ôö¼Ó»·¾³±äÁ¿HotSpotMksHome£¬ÄÚÈÝΪC:/cygwin/bin¡£      °²×°vs2008¡£´ò¿ªVisual Studio 2008 Command Prompt,½øÈëD:\JVM\openjdk\hotspot\make\windowsĿ¼£¬Ö´ÐÐÏÂÃæÃüÁ create D:\JVM\openjdk\hotspot\ D:\JVM\hotspot D:\JVM\hotspot\Dist      ±¨´í£¬ÕÒ²»µ½ptrQueue.inline.hppÎļþ£¬ÕâÊÇÒòΪÔÚÇ°ÃæµÄ°æ±¾ÖиÃÎļþÒѾ­±»É¾³ý£¬µ«ÊÇÏàÓ¦µÄÓÃÀ´ÃèÊöÎļþÒÀÀµ¹ØϵµÄincludeDBÎļþûÓÐ×öºÃͬ²½¡£ÓÐÁ½ÖÖÐ޸ķ½·¨£¬Ò»ÖÖÊÇɾ³ýÃèÊö¶Ô¸ÃÎļþ´æÔÚÒÀÀµ¹ØϵµÄÐУ»ÁíÒ»ÖÖÊÇÔÚopenjdk\hotspot\src\share\v ......

¹¹½¨±Ê¼Ç£ºÎª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Îļþ¡£°´ÕÕ¸ÃÎļþ˵Ã÷ÅäÖÃcygwin¡£³ýÁËĬÈÏÑ¡ÔñÖ®Í⣬»¹ÐèÒª°²×°ÒÔϹ¤¾ß£º      ½«C:/cygwin/bin¼ÓÈëµ½path»·¾³±äÁ¿Ï¡£Í¬Ê±ÅäÖúÃJava¿ª·¢Ïà¹ØµÄ»·¾³±äÁ¿(PathºÍClassPath)¡£ Ôö¼Ó»·¾³±äÁ¿HotSpotMksHome£¬ÄÚÈÝΪC:/cygwin/bin¡£      °²×°vs2008¡£´ò¿ªVisual Studio 2008 Command Prompt,½øÈëD:\JVM\openjdk\hotspot\make\windowsĿ¼£¬Ö´ÐÐÏÂÃæÃüÁ create D:\JVM\openjdk\hotspot\ D:\JVM\hotspot D:\JVM\hotspot\Dist      ±¨´í£¬ÕÒ²»µ½ptrQueue.inline.hppÎļþ£¬ÕâÊÇÒòΪÔÚÇ°ÃæµÄ°æ±¾ÖиÃÎļþÒѾ­±»É¾³ý£¬µ«ÊÇÏàÓ¦µÄÓÃÀ´ÃèÊöÎļþÒÀÀµ¹ØϵµÄincludeDBÎļþûÓÐ×öºÃͬ²½¡£ÓÐÁ½ÖÖÐ޸ķ½·¨£¬Ò»ÖÖÊÇɾ³ýÃèÊö¶Ô¸ÃÎļþ´æÔÚÒÀÀµ¹ØϵµÄÐУ»ÁíÒ»ÖÖÊÇÔÚopenjdk\hotspot\src\share\v ......

¹¹½¨±Ê¼Ç£ºÎª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Îļþ¡£°´ÕÕ¸ÃÎļþ˵Ã÷ÅäÖÃcygwin¡£³ýÁËĬÈÏÑ¡ÔñÖ®Í⣬»¹ÐèÒª°²×°ÒÔϹ¤¾ß£º      ½«C:/cygwin/bin¼ÓÈëµ½path»·¾³±äÁ¿Ï¡£Í¬Ê±ÅäÖúÃJava¿ª·¢Ïà¹ØµÄ»·¾³±äÁ¿(PathºÍClassPath)¡£ Ôö¼Ó»·¾³±äÁ¿HotSpotMksHome£¬ÄÚÈÝΪC:/cygwin/bin¡£      °²×°vs2008¡£´ò¿ªVisual Studio 2008 Command Prompt,½øÈëD:\JVM\openjdk\hotspot\make\windowsĿ¼£¬Ö´ÐÐÏÂÃæÃüÁ create D:\JVM\openjdk\hotspot\ D:\JVM\hotspot D:\JVM\hotspot\Dist      ±¨´í£¬ÕÒ²»µ½ptrQueue.inline.hppÎļþ£¬ÕâÊÇÒòΪÔÚÇ°ÃæµÄ°æ±¾ÖиÃÎļþÒѾ­±»É¾³ý£¬µ«ÊÇÏàÓ¦µÄÓÃÀ´ÃèÊöÎļþÒÀÀµ¹ØϵµÄincludeDBÎļþûÓÐ×öºÃͬ²½¡£ÓÐÁ½ÖÖÐ޸ķ½·¨£¬Ò»ÖÖÊÇɾ³ýÃèÊö¶Ô¸ÃÎļþ´æÔÚÒÀÀµ¹ØϵµÄÐУ»ÁíÒ»ÖÖÊÇÔÚopenjdk\hotspot\src\share\v ......

¹¹½¨±Ê¼Ç£ºÎª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Îļþ¡£°´ÕÕ¸ÃÎļþ˵Ã÷ÅäÖÃcygwin¡£³ýÁËĬÈÏÑ¡ÔñÖ®Í⣬»¹ÐèÒª°²×°ÒÔϹ¤¾ß£º      ½«C:/cygwin/bin¼ÓÈëµ½path»·¾³±äÁ¿Ï¡£Í¬Ê±ÅäÖúÃJava¿ª·¢Ïà¹ØµÄ»·¾³±äÁ¿(PathºÍClassPath)¡£ Ôö¼Ó»·¾³±äÁ¿HotSpotMksHome£¬ÄÚÈÝΪC:/cygwin/bin¡£      °²×°vs2008¡£´ò¿ªVisual Studio 2008 Command Prompt,½øÈëD:\JVM\openjdk\hotspot\make\windowsĿ¼£¬Ö´ÐÐÏÂÃæÃüÁ create D:\JVM\openjdk\hotspot\ D:\JVM\hotspot D:\JVM\hotspot\Dist      ±¨´í£¬ÕÒ²»µ½ptrQueue.inline.hppÎļþ£¬ÕâÊÇÒòΪÔÚÇ°ÃæµÄ°æ±¾ÖиÃÎļþÒѾ­±»É¾³ý£¬µ«ÊÇÏàÓ¦µÄÓÃÀ´ÃèÊöÎļþÒÀÀµ¹ØϵµÄincludeDBÎļþûÓÐ×öºÃͬ²½¡£ÓÐÁ½ÖÖÐ޸ķ½·¨£¬Ò»ÖÖÊÇɾ³ýÃèÊö¶Ô¸ÃÎļþ´æÔÚÒÀÀµ¹ØϵµÄÐУ»ÁíÒ»ÖÖÊÇÔÚopenjdk\hotspot\src\share\v ......

¶Á¡¶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)¶¯Ì¬Éê ......

¶Á¡¶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)¶¯Ì¬Éê ......
×ܼǼÊý:969; ×ÜÒ³Êý:162; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [3] [4] [5] [6] 7 [8] [9] [10] [11] [12]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ