¶Á¡¶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-9±àдһ¸ö½«ÊäÈë¸´ÖÆµ½Êä³öµÄ³ÌÐò£¬²¢½«ÆäÖÐÁ¬ÐøµÄ¶à¸ö¿Õ¸ñÓÃÒ»¸ö¿Õ¸ñ´úÌæ¡£
#include "stdio.h"
main(){
int c;
int flag;
flag=0;//ÊÇ·ñ¿Õ¸ñ±êÖ¾
while ((c=getchar())!=EOF){
if (c!=32) {
putchar(c);
flag=0;
}else if(flag==0){
flag=1;
putchar(c);
}
/* ......
ÔÚÉÏһƪÖÐÎÒÃÇÒѾʹÓÃcÓïÑÔʵÏÖÁËÒ»¸ö×î¼òµ¥µÄÀ©Õ¹Ä£¿é£¬ÕâһƪÖн«ÔÚÆä»ù´¡ÉϽøÐй¦Äܵķḻ¡£Ê×ÏÈÀ´¿¼ÂÇÈçºÎ´ÓÍⲿµÄPythonÏòCÄ£¿é´«µÝ½ø²ÎÊý£¬foo_bar2չʾÁËÈçºÎÏòCÄ£¿é´«µÝÕûÊý£¬¸¡µãÊý£¬×Ö·û´®Èý¸ö²ÎÊý£¬ÆäÖÐ"ids"Ö¸Ã÷ÁË´«Èë²ÎÊýµÄÊý¾ÝÀàÐÍ¡£PyArg_ParseTuple¸ºÔð¶Ôargs½øÐнâÎö£¬Èô½âÎöʧ°ÜÔò·µ»Ø0.´úÂë#include&n ......
¹þ¹þ£¡ÓÐÐÒÔÚÄ³ÍøÕ¾·¢ÏÖÕâÆªÎÄÕ£¬¶Á°Õ£¬¾õµÃÂùÓеÀÀí£¬·¢À´´ó¼ÒÒ»Æð¹²ÃãÖ®
×ÜÊDZ»Í¬Ñ§ÃÇÎʵ½£¬ÈçºÎѧϰCºÍC++²Å²»Ã£È»£¬²Å²»ÊÇÂÒѧ£¬ÏëÁËһϣ¬ÕâÀï¸ø³öÒ»¸ö×ܵĻظ´¡£
' J$ |0 ?! p% w" t5 D6 D: c9 |0 B
¡¡¡¡Ò»¼ÒÖ®ÑÔ£¬»¶ÓÅÄש¹þ¡£
¡¡¡¡1¡¢¿ÉÒÔ¿¼ÂÇÏÈѧϰC.
/ U$ X+ X/ P; Y ......
Ö¸Õë,ÖÚËùÖÜÖª,ʱΪһÄÚ´æµØÖ·.Å׿ªOS¼¶±ð»ò¸üµÍµÄÓ²¼þ¼¶±ð²»Ëµ,½ö¶ÔÓ¦ÓÃÄÚµÄʹÓýøÐÐССµÄÒܲâÌÖÂÛ.
Ê×ÏÈ,ÔÚÓ¦ÓÃÄÚ,ÓÃmallocÉêÇëµ½µÄÒ»¿éµØÖ·Ó¦¸ÃÊÇÁ¬ÐøµÄ(²Â²â,Âß¼ÉÏÁ¬Ðø,ʵ¼ÊÉÏÎïÀíÈçºÎ·Ö²¼²»Óè¹Ø×¢).
Æä´Î,Êý¾Ý´æÔÚÔÚÄÚ´æÖж¼ÊÇÒÔ2½øÖÆÐÎʽ´æ·Å.²»´æÔÚÊý¾ÝÀàÐÍ,Òò´Ë,¶ÔÄÚ´æÊý¾ÝµÄ²Ù×÷,Ö»Òª×ñѽø³öÀàÐÍÒ»Ö¼´¿É.
´ ......
Ê×ÏÈÏÂÔØ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Îļþ¡£° ......