Discuz! Board

 ÕÒ»ØÃÜÂë
 Á¢¼´×¢²á
ËÑË÷
²é¿´: 1459|»Ø¸´: 0
´òÓ¡ ÉÏÒ»Ö÷Ìâ ÏÂÒ»Ö÷Ìâ

Ñ°Ö·Ò°Ê·

[¸´ÖÆÁ´½Ó]

388

Ö÷Ìâ

602

Ìû×Ó

2218

»ý·Ö

½ðÅÆ»áÔ±

Rank: 6Rank: 6

»ý·Ö
2218
Ìøתµ½Ö¸¶¨Â¥²ã
Â¥Ö÷
·¢±íÓÚ 2016-6-30 08:55:16 | Ö»¿´¸Ã×÷Õß »ØÌû½±Àø |µ¹Ðòä¯ÀÀ |ÔĶÁģʽ
http://blog.jobbole.com/102431/
±¾ÎÄ×÷Õߣº ²®ÀÖÔÚÏß - zhangxiaoyang ¡£Î´¾­×÷ÕßÐí¿É£¬½ûֹתÔØ£¡
»¶Ó­¼ÓÈë²®ÀÖÔÚÏß ×¨À¸×÷Õß¡£

ÝëÈ»»ØÊ×£¬ÄÇÈËÈ´ÔÚ£¬µÆ»ðÀ»Éº´¦¡£

1 ÖÚÀïÑ°Ëý

ºó»¨Ô°Èýǧ¼ÑÀö£¬Éí´¦ÔÚÈç´ËÖÚ¶àµÄÃÀÈËÖ®ÖУ¬×÷Ϊºó»¨Ô°Ö®Ö÷£¬¸ÃÈçºÎÑ°ÕÒÐÄÒǵÄÃÀÈ˶ȴËÁ¼ÏüÄØ£¿

Àú´ú¾ýÖ÷Ïë³öÁ˺ܶ෽·¨À´Ñ°ÕÒ½ñÒ¹°é£¬±ÈÈ磬½úÎäµÛ˾ÂíÑ×·¢Ã÷ÁË¡°ÆïÑòÕÒÃÀÈË¡±µÄ·½·¨£¬Ñò֮ȥ´¦±ãÊǽñÒ¹ÁôËÞÖ®´¦£»ÌÆÐþ×ÚÀî¡»ùÔòÌá³öÁË¡°ÖÀ÷»×Ó¡±·¨£¬Ë­ÖÀ÷»µÄ´ó¾Í¸ú˭˯À²¡£

ËäÓи÷ÖÖ¡°Ñ°ÃÀÈË¡±Ö®·¨£¬µ«ÊÇ´ó¶àÊǾýÖ÷µÄһʱÐËÆð֮ѡ£¬Ã»ÓÐÖƶȻ¯£¬²»¹»¹æ·¶¡£Îª²©ÁúÑÕÔ㬹ÜÀíºÃ¾ýÖ÷µÄÒ¹Éú»î£¬¡°·­ÅÆ×Ó¡±ÖƶÈÓ¦Ô˶øÉú¡£Ã¿Ò»¸öÃÀÈË»á¶ÔÓ¦Ò»ÕÅ¡°ÃûÅÆ¡±£¬¾ýÖ÷´ÓÖÐÃûÅÆÖÐÑ¡Ôñ½ñÒ¹ÊÌÇÞÖ®ÈË¡£ÕâÖÖ·½·¨·Ç³£ÀàËÆÏÖÔÚµÄO2OºÍ¸÷ÖÖµ½¼Ò·þÎñ£¬ÏßÉÏÑ°ÕÒ·þÎñ£¬ÏßÏÂÏíÊÜ·þÎñ£¬°ô£¡

ºÎν¡°·­¡±£¿ºÎν¡°ÅÆ×Ó¡±£¿ÏÈ˵¡°ÅÆ×Ó¡±£¬ÅÆ×ÓÓëÃÀÈËÊÇÒ»Ò»¶ÔÓ¦µÄ¹Øϵ£¬Ã¿Ò»ÕÅÃûÅƶÔӦΨһµÄÒ»¸öÃÀÈË£¬Ã¿Ò»¸öÃÀÈ˶ÔӦΨһµÄÒ»ÕÅÃûÅÆ¡£¡°·­¡±µÄÄ¿µÄÔÚÓÚÕÒµ½ÐÄÒǵÄÃÀÈË£¬¡°·­¡±µÄ·½·¨È´Óкܶ࣬±ÈÈ磬¿ÉÒÔ´ÓÅÆ×ÓÖÐÑ¡Ôñ£¬Ò²¿ÉÒÔÖ±½Óº°ÃÀÈ˹ýÀ´£¨¡°Ð¡Ñã×Ó£¬×òÌìµÄÃÀÈ˲»´í£¬ÈÃËýÔÙÀ´Ò»´Î¡±£©£¬ÉõÖÁ¶¼ÎÞÐè˵»°£¬Ò»¸öÊÖÊƱãÃ÷ÁËÁË£¬¾ÍÊÇËý£¡

2 Ñ°Ö·

CPUÓµÓмÆËã»úÓ²¼þ×ÊÔ´µÄ¾ø¶Ô¿ØÖÆȨ£¬¶ÔÓÚһ̨8GBÄÚ´æµÄ¼ÆËã»ú£¬¼´$8*1024^3B$=80¶àÒÚ¸öÄÚ´æµ¥Ôª£¬Ï൱ÓÚÓÐ80¶àÒÚ¸ö¼ÑÀö°¡£¬Í»È»¾õµÃÎҵĺó»¨Ô°Èõ±¬ÁË£¡

ÈçºÎ¶¨Î»ÄÚ´æµ¥Ôª£¿Ö»Óж¨Î»µ½ÐÄÒǵÄÄÚ´æµ¥Ôª£¬²ÅÄܹ»Ð´ÈëºÍ¶ÁÈ¡Êý¾Ý¡£CPUΪÁËÏíÊܵ½ÕâЩÄÚ´æµ¥Ôª£¬±ØÐë½â¾öÕâ¸öÎÊÌâ¡£·ñÔòµÄ»°£¬ºÜÓпÉÄÜ·­µÄÊÇ‹Ö‹ÖÈ´ÕÙ¼ûÁ˻ʺ󣬶àÉ£ÐÄ°¡¡£

ÀúÊ·×ÜÊǾªÈ˵ÄÏàËÆ¡£CPUҲʹÓÃÀàËÆ¡°·­ÅÆ×Ó¡±µÄ·½·¨Ñ°ÕÒÊý¾Ý¡£CPUµÄÌåϵ½á¹¹¹æ¶¨£¬Ã¿Ò»¸öÄÚ´æµ¥Ôª¶¼ÓÐÒ»ÕÅÃûÅÆ£¬Í¨¹ýÃûÅƿɶ¨Î»µ½´æ´¢Êý¾ÝµÄµØ·½£¬Êý¾ÝµÄдÈëºÍ¶ÁÈ¡±ãÈÝÒ×ÁËÐí¶à¡£

ΪÁËÈÃѧϰ¸÷Öָ߼¶ÓïÑÔµÄÈ˸㲻¶®ÕâЩ¸ÅÄ¸ãCPUµÄÈ˸øÃûÅÆÆðÁËÒ»¸ö³éÏóµÄÃû×Ö¡ª¡ªµØÖ·£¨Address£©¡£CPU·­ÅÆ×Ó£¨¶¨Î»ÄÚ´æµ¥Ôª£©µÄ·½·¨±»³Æ×÷Ñ°Ö··½Ê½£¨Addressing Modes£©£¬Ñ°Ö··½Ê½ÊÇCPU¿ØÖÆÄÚ´æµÄ»ùʯ¡££¨Ã÷Ã÷Ñ°ÕÒµÄÊÇÄÚ´æµ¥Ôª£¬ÊÇÊý¾Ý£¬ÎªÉ¶½Ð×ö¡°Ñ°Ö·¡±ÄØ£¡£©

2.1 Ñ°Ö··½Ê½

²»Í¬µÄCPU¿ÉÄÜʹÓò»Í¬µÄÌåϵ½á¹¹£¬Õâ¾Íµ¼ÖÂÆäÖ¸Á¡¢Ñ°Ö··½Ê½ÓÐËù²»Í¬¡£×ܵÄÀ´Ëµ£¬Êý¾ÝÑ°Ö··½Ê½Ö÷ÒªÓÐÒÔÏÂ7ÖÖ£º

×¢£ºDS=2000H, BX=1234H, SI=1234H, (28054H)=3050H, (21234H)=6789H, (22234H)=7000H, (22468H)=8000H, (22478H)=9000H¡£[X]±íʾÄÚ´æÊý¾Ý¶Î£¨DS£©ÖÐÆ«ÒƵØÖ·XλÖÃËù´æ´¢µÄÊý¾Ý, (X)±íʾµØÖ·XÖд洢µÄÊý¾Ý¡£

  • Á¢¼´Ñ°Ö··½Ê½ MOV AX, 1234H£¬ÔòAX=1234H
  • ¼Ä´æÆ÷Ñ°Ö··½Ê½ MOV AX, BX£¬ÔòAX=1234H
  • Ö±½ÓÑ°Ö··½Ê½ MOV AX, [8054H]£¬ÔòAX=(20000H+8054H)=(28054H)=3050H
  • ¼Ä´æÆ÷¼ä½ÓÑ°Ö··½Ê½ MOV AX, [SI]£¬ÔòAX=(20000H+1234H)=(21234H)=6789H
  • ¼Ä´æÆ÷Ïà¶ÔÑ°Ö··½Ê½ MOV AX, [SI+1000H]£¬ÔòAX=(20000H+1234H+1000H)=(22234H)=7000H
  • »ùÖ·¼Ó±äÖ·Ñ°Ö··½Ê½ MOV AX, [BX][SI]£¬ÔòAX=(20000H+1234H+1234H)=(22468H)=8000H
  • Ïà¶Ô»ùÖ·¼Ó±äÖ·Ñ°Ö··½Ê½ MOV AX, [BX+SI+10H]£¬ÔòAX=(20000H+1234H+1234H+10H)=(22478H)=9000H

¿ÉÒÔ¿´µ½£¬¶ÔÓÚҪѰַµÄÊý¾Ý£¬¿ÉÄÜÀ´×ÔÖ¸ÁÁ¢¼´Êý£©¡¢¼Ä´æÆ÷£¨CPU£©¡¢Äڴ棻µ±Êý¾ÝÀ´×ÔÄÚ´æµÄʱºò£¬ÎÒÃÇÐèÒªÖ¸¶¨ÄÚ´æµÄµØÖ·£¬¶øÄÚ´æµØÖ·¿ÉÄÜÀ´×ÔÖ¸ÁÁ¢¼´Êý£©¡¢¼Ä´æÆ÷£»µ±Êý¾ÝÀ´×ԼĴæÆ÷µÄʱºò£¬ÎÒÃÇÐèÒªÖ¸¶¨¼Ä´æÆ÷Ãû³Æ£¬¶ø¼Ä´æÆ÷Ãû³ÆÀ´×ÔÖ¸Áî¡£ÓÐÒ»ÖÖÍò½£¹é×ڵĸоõ°¡¹þ£¬Ô´Í·±ãÊÇÖ¸Áî¡£

»¹ÓÐÒ»ÖÖÑ°Ö··½Ê½¡ª¡ªÖ¸ÁîÑ°Ö·¡£Ö¸ÁîÑ°Ö·ÓëÊý¾ÝÑ°Ö·²»Í¬£¬Ç°ÕßÊÇÑ°ÕÒÖ¸Áî²¢Ö´ÐУ¬ºóÕßÊÇÑ°ÕÒÊý¾Ý²¢¼ÆËã¡£

2.2 Ö¸ÁîÓëÊý¾Ý

Ö¸ÁÊý¾Ý£¬»¹ÓÐÄÇÆáºÚµÄδ֪£¬ËûÃǶ¼¾²¾²ÌÉÔÚÄÚ´æÖС£ÒÔ¿ª¹ØµÄÐÎʽ£¬°²ÒÝÏ°¹ß£¬³Á˯Âéľ£¬°ëÉú°ëËÀ¡£Ö¸Áî¿ÉÒԸıäÊý¾Ý£¬Êý¾Ý¿ÉÒÔ×÷ΪָÁָÁîÓëÊý¾Ý±¾Ò»Î»òÕß˵¸ù±¾¾ÍûÓÐÖ¸ÁîºÍÊý¾Ý£¬²»¹ýÊÇÒ»¶Ñ¿ª¿ª¹Ø¹ØµÄÃŵç·¡£±¾À´ÎÞÒ»ÎºÎ±ØÈdz¾°£¡£

3 Ö¸Õë

ÄÚ´æµØÖ·²»¹ýÊǸ÷¸öÄÚ´æµ¥ÔªËùÓµÓеÄÃûÅÆ£¬ËûÃÇÎÞ¸¸ÎÞĸ£¬ÎÞÃûÎÞÐÕ£¬Ö»ÓÐÄÇÒ»´®µØÖ·¡£°ÑÍæµØÖ·£¬×Åʵ²»ÊǸ߼¶ÓïÑÔµÄʹÓÃÕߵİ®ºÃ¡£ÎÒÃDz»¹Ø×¢28054HÕâ¸öµØÖ·Àï·ÅµÄÊÇʲô£¬¸ü¹ØÐĶÔÊý¾Ý½á¹¹µÄ²Ù×÷ºÍʹÓá£

3.1 ±äÁ¿ÓëÖ¸Õë

¸ß¼¶ÓïÑÔÀïµÄÃûÅƲ»ÊǵØÖ·£¬¶øÊDZäÁ¿¡£³ýÁ˶ÔÕâЩ±äÁ¿µÄдÈëºÍ¶ÁÈ¡£¬ÎÒÃÇ»¹Ê±³£»á·¢¸ö¿ìµÝ£¬°ÑһЩ±äÁ¿´«µÝ¸øÆäËûº¯ÊýʹÓ㬱ÈÈçÕâÑù£º

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6

[color=rgb(170, 170, 170) !important]7

[color=rgb(170, 170, 170) !important]8


[color=rgb(128, 0, 128) !important]void[color=rgb(0, 111, 224) !important] [color=teal !important]needBook[color=rgb(51, 51, 51) !important]([color=rgb(128, 0, 128) !important]float[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]price[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=rgb(153, 153, 153) !important]//...
[color=rgb(51, 51, 51) !important]}
[color=rgb(128, 0, 128) !important]int[color=rgb(0, 111, 224) !important] [color=teal !important]main[color=rgb(51, 51, 51) !important]([color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=rgb(128, 0, 128) !important]float[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]price[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] [color=rgb(0, 153, 153) !important]50.0f[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=teal !important]needBook[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]price[color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  return[color=rgb(0, 111, 224) !important] [color=rgb(0, 153, 153) !important]0[color=rgb(51, 51, 51) !important];
[color=rgb(51, 51, 51) !important]}



ÓÐʱºòÎÒÃÇ´«µÄÊý¾Ý»áºÜ´ó£¬±ÈÈçÕâÑù£º

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6

[color=rgb(170, 170, 170) !important]7


[color=rgb(128, 0, 128) !important]void[color=rgb(0, 111, 224) !important] [color=teal !important]needBook[color=rgb(51, 51, 51) !important]([color=teal !important]Book [color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=rgb(153, 153, 153) !important]//...
[color=rgb(51, 51, 51) !important]}
[color=rgb(128, 0, 128) !important]int[color=rgb(0, 111, 224) !important] [color=teal !important]main[color=rgb(51, 51, 51) !important]([color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=teal !important]Book [color=teal !important]book[color=rgb(51, 51, 51) !important]([color=rgb(221, 17, 68) !important]"Effective C++"[color=rgb(51, 51, 51) !important],[color=rgb(0, 111, 224) !important] [color=rgb(221, 17, 68) !important]"ÕâÊÇÒ»±¾ºÃÊé"[color=rgb(51, 51, 51) !important],[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important].[color=rgb(51, 51, 51) !important].[color=rgb(51, 51, 51) !important].[color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=teal !important]needBook[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(51, 51, 51) !important]}



ÕâÑùÊÇOKµÄ£¬µ«ÊÇÓе㱿׾¡£Ôõô˵ÄØ£¬¾ÍÏñÎÒÓÐÒ»±¾Ê飬ÄãÏë¿´£¬È»ºóÎҾͰÑÿһҳ¶¼³­ÁËÏÂÀ´£¬ÖÆ×÷ÁËÒ»±¾ÐµÄÊ飬¸øÄãÁË¡£ÎÒ¿ÉÒÔÖ±½Ó°ÑԭʼµÄÊé¸øÄãµÄÂ

ÈκÎÊý¾Ý¶¼ÊÇÓеØÖ·µÄ£¬ËùÒÔ£¬Ò»¸öºÜ×ÔÈ»µÄÏë·¨ÊÇ°ÑÊý¾ÝµÄµØÖ·´«¹ýÈ¥£¬ÕâÑù¾Í¿ì¶àÁË¡£

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6

[color=rgb(170, 170, 170) !important]7


[color=rgb(128, 0, 128) !important]void[color=rgb(0, 111, 224) !important] [color=teal !important]needBook[color=rgb(51, 51, 51) !important]([color=teal !important]Book*[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]pBook[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=rgb(153, 153, 153) !important]//...
[color=rgb(51, 51, 51) !important]}
[color=rgb(128, 0, 128) !important]int[color=rgb(0, 111, 224) !important] [color=teal !important]main[color=rgb(51, 51, 51) !important]([color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=teal !important]Book [color=teal !important]book[color=rgb(51, 51, 51) !important]([color=rgb(221, 17, 68) !important]"Effective C++"[color=rgb(51, 51, 51) !important],[color=rgb(0, 111, 224) !important] [color=rgb(221, 17, 68) !important]"ÕâÊÇÒ»±¾ºÃÊé"[color=rgb(51, 51, 51) !important],[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important].[color=rgb(51, 51, 51) !important].[color=rgb(51, 51, 51) !important].[color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=teal !important]needBook[color=rgb(51, 51, 51) !important]([color=rgb(0, 111, 224) !important]&[color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(51, 51, 51) !important]}



ÆäÖУ¬ÌرðÐèÒª½éÉÜpBook£¬¼´Ö¸Õë¡£ÆäʵÕâ²»¹ýÊÇÍæ¸ß¼¶ÓïÑÔµÄÈËΪÁ˱¨¸´¸ãCPU¸ã»ã±àµÄÄÇ°ïÈ˶øÌá³öµÄ¸ÅÄî¡£¸ß¼¶ÓïÑÔµÄÖ¸Õë¡¢ÄÚ´æÖеĵØÖ·£¬²»¹ýÊÇÄÚ´æµ¥ÔªµÄÃûÅÆ°ÕÁË¡£

²»¹ý£¬»¹ÊÇÓÐЩÐí²»Í¬¡£¸ß¼¶ÓïÑÔµÄÃûÅÆ£¨Ö¸Õ룩¾ßÓÐÀàÐ͵ĸÅÄÕâÑù²»½ö¿ÉÒÔ¶¨Î»ÄÚ´æµ¥Ôª£¬»¹¿ÉÒÔÖªµÀÐèҪʹÓü¸¸öÄÚ´æµ¥Ôª¡£±ÈÈ磬int* age;ÊÇÒ»¸öÕûÊýÀàÐ͵ÄÖ¸Õ룬ָÕëÖ¸ÏòµÄÄÚ´æÇøÓòʹÓÃÁË4¸öÄÚ´æµ¥ÔªÀ´´æ´¢ÕûÐÍÊý¾Ý£¨32λ»úÆ÷£©¡£

3.2 É±´¡¢Ç³¿½±´

Ö¸ÕëʹÓò»µ±Ò²»á´øÀ´Ò»Ð©ÎÊÌ⣬±ÈÈ翽±´ÎÊÌâ¡£Èç¹ûÄãÖ´ÒâÒªÖÆ×÷Ò»±¾ÐÂÊ飬Ȼºó¿ÉÒÔ×ö±Ê¼Ç°¡Ê²Ã´µÄ£¬±ÈÈçÕâÑù£º

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6

[color=rgb(170, 170, 170) !important]7


[color=rgb(128, 0, 128) !important]void[color=rgb(0, 111, 224) !important] [color=teal !important]copy[color=rgb(51, 51, 51) !important]([color=teal !important]Book [color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=rgb(153, 153, 153) !important]//...
[color=rgb(51, 51, 51) !important]}
[color=rgb(128, 0, 128) !important]int[color=rgb(0, 111, 224) !important] [color=teal !important]main[color=rgb(51, 51, 51) !important]([color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=teal !important]Book [color=rgb(0, 45, 122) !important]mybook[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=teal !important]copy[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]mybook[color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(51, 51, 51) !important]}



ÕâÑù°´Àí˵Ӧ¸ÃûÊ°¡¡£µ«ÊÇ£¬Èç¹ûÎÒÃǵÄBookÊÇÕâÑù¶¨ÒåµÄʱºò¾ÍÈÝÒ×Òý·¢Ò»Ð©ÎÊÌ⣺

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6

[color=rgb(170, 170, 170) !important]7

[color=rgb(170, 170, 170) !important]8

[color=rgb(170, 170, 170) !important]9

[color=rgb(170, 170, 170) !important]10


[color=rgb(128, 0, 128) !important]struct[color=rgb(0, 111, 224) !important] [color=teal !important]Note[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=rgb(128, 0, 128) !important]char[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]author[color=rgb(51, 51, 51) !important][[color=rgb(0, 153, 153) !important]255[color=rgb(51, 51, 51) !important][color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=rgb(128, 0, 128) !important]char[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]content[color=rgb(51, 51, 51) !important][[color=rgb(0, 153, 153) !important]10240[color=rgb(51, 51, 51) !important][color=rgb(51, 51, 51) !important];
[color=rgb(51, 51, 51) !important]}[color=rgb(51, 51, 51) !important];

[color=rgb(128, 0, 128) !important]struct[color=rgb(0, 111, 224) !important] [color=teal !important]Book[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=rgb(128, 0, 128) !important]char[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]name[color=rgb(51, 51, 51) !important][[color=rgb(0, 153, 153) !important]255[color=rgb(51, 51, 51) !important][color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=rgb(128, 0, 128) !important]char[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]content[color=rgb(51, 51, 51) !important][[color=rgb(0, 153, 153) !important]10240[color=rgb(51, 51, 51) !important][color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=teal !important]Note*[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]pNote[color=rgb(51, 51, 51) !important];
[color=rgb(51, 51, 51) !important]}[color=rgb(51, 51, 51) !important];



×¢Òâµ½BookÓÐÒ»¸ö³ÉÔ±±äÁ¿ÊÇpNote£¬±íʾÕâ±¾Êé¶ÔÓ¦µÄ±Ê¼Ç¡£Èç¹ûʹÓÃcopyÀ´»ñÈ¡Ò»±¾ÐÂÊ飬Õâ»áµ¼ÖÂname¡¢content¡¢pNoteÔÚ¿½±´Ö®ºó´æ´¢µÄÊý¾ÝÍêÈ«Ò»Ñù¡£pNote´æ´¢µÄÊÇÒ»¸öµØÖ·£¬ÕâÒâζ×ÅÎÒÃǶ¼ÓµÓÐÁËÎÒËùдµÄ±Ê¼ÇµÄµØÖ·£¬ÄãÎÒ¶¼¿ÉÒÔÐÞ¸ÄÎҵıʼǡ£ÓÐʱºò£¬ÓÐij¸ö±äÁ¿µÄµØÖ·ÊǼþºÜΣÏÕµÄÊÂÇ飬ÒòΪÄãµÄ³õÖÔ¿ÉÄÜÊǸ´ÖÆÒ»·Ý×Ô¼ºÓ㬵«Êǵ±ÄãÐÞ¸ÄÕâ¸öµØÖ·Ëù´æ´¢µÄÊý¾ÝµÄʱºò£¬½«»áÓ°ÏìÆäËûʹÓøÃÊý¾ÝµÄÈË¡£Òò´Ë£¬ÎÒÃÇÊÇÐèÒªÖªµÀ¿½±´µÄÉî²»É¼´É±´ºÍdz¿½±´¡£

dz¿½±´ÊǸ´ÖÆÒ»¸ö¸±±¾£¬Ö¸Õ뻹ÊÇÖ¸ÏòԭʼµÄÊý¾Ý£»É±´ÊÇÿһ¸ö²¿·Ö¶¼ÒªÊÇȫеģ¬¶ÔÆä×÷³öµÄÈκÎÐ޸Ķ¼²»»áÓ°ÏìԭʼÊý¾Ý¡£µ±ÎÒÃÇÐèÒªÐ޸Ŀ½±´³öµÄÊý¾Ýʱ£¬¾ÍÐèÒª¿¼ÂÇÊÇ·ñ¸Ã½øÐÐÉ±´ÁË¡£

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6

[color=rgb(170, 170, 170) !important]7

[color=rgb(170, 170, 170) !important]8

[color=rgb(170, 170, 170) !important]9

[color=rgb(170, 170, 170) !important]10

[color=rgb(170, 170, 170) !important]11

[color=rgb(170, 170, 170) !important]12

[color=rgb(170, 170, 170) !important]13

[color=rgb(170, 170, 170) !important]14


[color=rgb(153, 153, 153) !important]//dz¿½±´
[color=rgb(128, 0, 128) !important]void[color=rgb(0, 111, 224) !important] [color=teal !important]shallowCopy[color=rgb(51, 51, 51) !important]([color=teal !important]Book [color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=teal !important]Book [color=rgb(0, 45, 122) !important]newBook[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=rgb(153, 153, 153) !important]//...
[color=rgb(51, 51, 51) !important]}

[color=rgb(153, 153, 153) !important]//É±´
[color=rgb(128, 0, 128) !important]void[color=rgb(0, 111, 224) !important] [color=teal !important]deepCopy[color=rgb(51, 51, 51) !important]([color=teal !important]Book [color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=teal !important]Book [color=rgb(0, 45, 122) !important]newBook[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important].[color=rgb(0, 45, 122) !important]pNote[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] new[color=rgb(0, 111, 224) !important] [color=teal !important]Note[color=rgb(51, 51, 51) !important]([color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=teal !important]strcpy[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]newBook[color=rgb(51, 51, 51) !important].[color=rgb(0, 45, 122) !important]pNote[color=rgb(0, 111, 224) !important]->[color=rgb(0, 45, 122) !important]author[color=rgb(51, 51, 51) !important],[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]book[color=rgb(0, 111, 224) !important]->[color=rgb(0, 45, 122) !important]author[color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=teal !important]strcpy[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]newBook[color=rgb(51, 51, 51) !important].[color=rgb(0, 45, 122) !important]pNote[color=rgb(0, 111, 224) !important]->[color=rgb(0, 45, 122) !important]content[color=rgb(51, 51, 51) !important],[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]book[color=rgb(0, 111, 224) !important]->[color=rgb(0, 45, 122) !important]content[color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=rgb(153, 153, 153) !important]//...
[color=rgb(51, 51, 51) !important]}




3.3 ÒýÓÃ

Ö¸Õë±ÈÖ±½ÓʹÓÃÄÚ´æµØÖ·Òª·½±ãµÄ¶à£¬µ«ÊÇÌ«¹ýÁé»îÁË£¬Ö»ÒªÄ㿪ÐÄ£¬¿ÉÒÔÓж༶ָÕ룬¼´Ö¸ÕëµÄÖ¸Õë¡£C++»¹ÌṩÁË¡°ÒýÓá±£¬±ÈÈçÕâÑù£º

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6

[color=rgb(170, 170, 170) !important]7


[color=rgb(128, 0, 128) !important]void[color=rgb(0, 111, 224) !important] [color=teal !important]needBook[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]Book[color=rgb(0, 111, 224) !important]&[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=rgb(153, 153, 153) !important]//...
[color=rgb(51, 51, 51) !important]}
[color=rgb(128, 0, 128) !important]int[color=rgb(0, 111, 224) !important] [color=teal !important]main[color=rgb(51, 51, 51) !important]([color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important]{
[color=rgb(0, 111, 224) !important]  [color=teal !important]Book [color=teal !important]book[color=rgb(51, 51, 51) !important]([color=rgb(221, 17, 68) !important]"Effective C++"[color=rgb(51, 51, 51) !important],[color=rgb(0, 111, 224) !important] [color=rgb(0, 153, 153) !important]50.0f[color=rgb(51, 51, 51) !important],[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important].[color=rgb(51, 51, 51) !important].[color=rgb(51, 51, 51) !important].[color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(0, 111, 224) !important]  [color=teal !important]needBook[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]book[color=rgb(51, 51, 51) !important])[color=rgb(51, 51, 51) !important];
[color=rgb(51, 51, 51) !important]}



ÓëÖ¸Õ벻ͬ£¬Ö¸ÕëÐèÒªµ÷ÓÃÕߺͱ»µ÷ÓÃÕßЭÉ̺㬵÷ÓÃÕßҪȡµØÖ·needBook(&book);£¬±»µ÷ÓÃÕßÒªÖ¸Ã÷Ö¸ÕëÀàÐ͵IJÎÊývoid needBook(Book* pBook);¡£¶ø¶ÔÓÚÒýÓÃÀ´Ëµ£¬µ÷ÓÃÕßÔÙÒ²²»Óÿ¼ÂÇÒª²»ÒªÈ¡µØÖ·ÁË£¬±»µ÷ÓÃÕß¿ÉÒÔÑ¡Ôñ½ÓÊܵÄÊDZäÁ¿»¹ÊDZäÁ¿µÄµØÖ·£¬void needBook(Book book);»òvoid needBook(Book& book);¡£

3.4 ÔÙ¿´±äÁ¿

C++ÖеıäÁ¿ºÍPythonÖеıäÁ¿¿ÉÒÔ´ú±í±äÁ¿µÄÁ½´óÅÉϵ£¬Ç°ÕßÐèÓɳÌÐòÔ±Íê³ÉÄÚ´æ¹ÜÀíºÍÀ¬»ø»ØÊÕ¹¤×÷£¬ºóÕßÔòÓÉPython×Ô¼º¸ã¶¨£¬Õâ±ãµ¼ÖÂÁ˲»Í¬µÄ±äÁ¿¹ÜÀí·½°¸¡£

¶ÔÓÚC++À´Ëµ£¬int a=1;±íʾ°ÑÊý×Ö1·Åµ½aºÐ×ÓÀïÃ棻µ±¼ÌÐøÖ´ÐÐa=2;µÄʱºò£¬»á°ÑÊý×Ö2·Åµ½aºÐ×Ó£¬¶øÆäÔ­À´µÄÄÚÈݻᱻÇå¿Õ¡£¶ÔÓÚint b=a;À´Ëµ£¬»á°ÑaºÐ×ÓµÄÄÚÈݸ´ÖƵ½bºÐ×ÓÖС£

¶ø¶ÔÓÚPythonÀ´Ëµ£¬a=1±íʾÊý×Ö1±»ÌùÉÏÁËa±êÇ©£»µ±¼ÌÐøÖ´ÐÐa=2µÄʱºò£¬Êý×Ö2»á±»ÌùÉÏa±êÇ©£¬ÒòΪa±êÇ©Ö»ÓÐÒ»¸ö£¬ËùÒÔÔÚÌùµ½Êý×Ö2֮ǰ»áÏÈ´ÓÊý×Ö1ÉÏ˺ÏÂÀ´¡£¶ÔÓÚb=a;À´Ëµ£¬»á°Ñb±êÇ©Ìùµ½a±êÇ©ÌùµÄÊý×ÖÉÏÃ棬¼´Êý×Ö2¡£

´Ëʱ£¬ÔÙ¿´ÒÔÏÂPython´úÂë±ã²»ÔÙ»áÄÇô¾ªÑÈ¡£x±¾À´ÌùÔÚÊý×Ö1ÉÏ£¬change°Ñ¾Ö²¿±äÁ¿xÌùµ½ÁËÊý×Ö2ÉÏ£¬µ«ÊÇx»¹ÊÇÌùÔÚÊý×Ö1ÉÏ£º

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6


[color=teal !important]def [color=teal !important]change[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important]:
[color=rgb(0, 111, 224) !important]    [color=rgb(0, 45, 122) !important]x[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] [color=rgb(0, 153, 153) !important]2

[color=rgb(0, 45, 122) !important]x[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] [color=rgb(0, 153, 153) !important]1
[color=teal !important]change[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important])
print[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]x[color=rgb(0, 111, 224) !important] [color=rgb(184, 92, 0) !important]# 1



x±¾À´ÌùÔÚijһ¸öÁбíÉÏ£¬Æð³õÁбíÖÐÖ»ÓÐÒ»¸öÊý×Ö1£¬change°ÑÐÞ¸ÄÁ˾ֲ¿±äÁ¿xËùÌùµÄÁÐ±í£¨Ôö¼ÓÁËÊý×Ö2£©£¬ÓÉÓÚxºÍ¾Ö²¿±äÁ¿x¶¼Ìùµ½ÁËͬһ¸öÁÐ±í£¬ËùÒÔÁбíµÄÔªËر»ÐÞ¸ÄÁË£º

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6


[color=teal !important]def [color=teal !important]change[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important]:
[color=rgb(0, 111, 224) !important]    [color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important].[color=teal !important]append[color=rgb(51, 51, 51) !important]([color=rgb(0, 153, 153) !important]2[color=rgb(51, 51, 51) !important])

[color=rgb(0, 45, 122) !important]x[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] [color=rgb(51, 51, 51) !important][[color=rgb(0, 153, 153) !important]1[color=rgb(51, 51, 51) !important]
[color=teal !important]change[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important])
print[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]x[color=rgb(0, 111, 224) !important] [color=rgb(184, 92, 0) !important]# [1, 2]



ͨ¹ýÒÔÉÏÁ½¸öÀõ×Ó¿ÉÒÔ¿´µ½£¬PythonµÄµÈºÅ²¢²»ÊǸ³Öµ£¬¶øÊÇÖØÐÂÌù±êÇ©¡£¶øÖØÐÂÌù±êÇ©Òâζ×Åʧȥ¶ÔԭʼÊý¾ÝµÄ¿ØÖÆ£¬²»ÄܽøÐÐÐÞ¸ÄÁË¡£ËùÒÔ£¬µÚÒ»¸öÀõ×Ó²»Äܹ»ÐÞ¸Äx£¬µÚ¶þ¸öÀõ×ÓÔò¿ÉÒÔÐÞ¸Äx¡£Èç¹ûÎÒÃÇÓ²ÒªÐ޸ĵÚÒ»¸öÀõ×ÓÖеÄx£¬¿ÉÒÔÕâÑù£º

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6


[color=teal !important]def [color=teal !important]change[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important]:
[color=rgb(0, 111, 224) !important]    [color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important].[color=teal !important]assign[color=rgb(51, 51, 51) !important]([color=rgb(0, 153, 153) !important]2[color=rgb(51, 51, 51) !important])

[color=rgb(0, 45, 122) !important]x[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] [color=rgb(0, 153, 153) !important]1
[color=teal !important]change[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important])
print[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]x[color=rgb(0, 111, 224) !important] [color=rgb(184, 92, 0) !important]# 2



»µÏûÏ¢ÊÇ£¬ÕûÊýÀàÐ͵Äx²¢Ã»ÓÐassignÕâ¸ö·½·¨£¬ºÃÏûÏ¢ÊÇ£¬ÎÒÃÇ¿ÉÒÔÈÃËûÓУ¨¾¡¹Ü²»ÔõôÓÅÑÅ£©£º

[backcolor=rgb(248, 248, 255) !important][backcolor=rgb(238, 238, 238) !important][color=rgb(102, 102, 102) !important]












[color=rgb(170, 170, 170) !important]1

[color=rgb(170, 170, 170) !important]2

[color=rgb(170, 170, 170) !important]3

[color=rgb(170, 170, 170) !important]4

[color=rgb(170, 170, 170) !important]5

[color=rgb(170, 170, 170) !important]6

[color=rgb(170, 170, 170) !important]7

[color=rgb(170, 170, 170) !important]8

[color=rgb(170, 170, 170) !important]9

[color=rgb(170, 170, 170) !important]10

[color=rgb(170, 170, 170) !important]11

[color=rgb(170, 170, 170) !important]12

[color=rgb(170, 170, 170) !important]13

[color=rgb(170, 170, 170) !important]14


[color=rgb(128, 0, 128) !important]class[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]MyInt[color=rgb(0, 111, 224) !important]:
[color=rgb(0, 111, 224) !important]    [color=teal !important]def [color=teal !important]__init__[color=rgb(51, 51, 51) !important](self[color=rgb(51, 51, 51) !important],[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]v[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important]:
[color=rgb(0, 111, 224) !important]        self[color=rgb(51, 51, 51) !important].[color=rgb(0, 45, 122) !important]_v[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] v
[color=rgb(0, 111, 224) !important]    [color=teal !important]def [color=teal !important]assign[color=rgb(51, 51, 51) !important](self[color=rgb(51, 51, 51) !important],[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]v[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important]:
[color=rgb(0, 111, 224) !important]        self[color=rgb(51, 51, 51) !important].[color=rgb(0, 45, 122) !important]_v[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] v
[color=rgb(0, 111, 224) !important]    [color=teal !important]def [color=teal !important]__repr__[color=rgb(51, 51, 51) !important](self[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important]:
[color=rgb(0, 111, 224) !important]        return[color=rgb(0, 111, 224) !important] [color=teal !important]str[color=rgb(51, 51, 51) !important](self[color=rgb(51, 51, 51) !important].[color=rgb(0, 45, 122) !important]_v[color=rgb(51, 51, 51) !important])

[color=teal !important]def [color=teal !important]change[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important])[color=rgb(0, 111, 224) !important]:
[color=rgb(0, 111, 224) !important]    [color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important].[color=teal !important]assign[color=rgb(51, 51, 51) !important]([color=rgb(0, 153, 153) !important]2[color=rgb(51, 51, 51) !important])

[color=rgb(0, 45, 122) !important]x[color=rgb(0, 111, 224) !important] [color=rgb(0, 111, 224) !important]=[color=rgb(0, 111, 224) !important] [color=teal !important]MyInt[color=rgb(51, 51, 51) !important]([color=rgb(0, 153, 153) !important]1[color=rgb(51, 51, 51) !important])
[color=teal !important]change[color=rgb(51, 51, 51) !important]([color=rgb(0, 45, 122) !important]x[color=rgb(51, 51, 51) !important])
print[color=rgb(0, 111, 224) !important] [color=rgb(0, 45, 122) !important]x[color=rgb(0, 111, 224) !important] [color=rgb(184, 92, 0) !important]# 2




²Î¿¼


»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

ÄúÐèÒªµÇ¼ºó²Å¿ÉÒÔ»ØÌû µÇ¼ | Á¢¼´×¢²á

±¾°æ»ý·Ö¹æÔò

QQ|Archiver|ÊÖ»ú°æ|СºÚÎÝ|firemail ( ÔÁICP±¸15085507ºÅ-1 )

GMT+8, 2024-5-3 20:54 , Processed in 0.068228 second(s), 19 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí