ÏÖÔÚÅöµ½Ò»¸öÎÊÌ⣬ÔÚ¶¯Ì¬¿âÖÐÓÐÒ»¸öÀàµÄ¶¨Òå class M{}£»
ÔÚÎҵŤ³ÌÖÐÓÐÒ»¸öÏàͬµÄÀඨÒåM£¬²¢ÇÒMÖÐÓиöÏàͬµÄ·½·¨F¡£
¶¯Ì¬¿âÖÐÓиö´¦ÀíÁ÷³ÌÐèÒª¶¨ÒåÒ»¸öMµÄ¶ÔÏó£¬È»ºóµ÷Ó÷½·¨F£¬µ«ÊÇÔËÐнá¹ûÏÔʾµÄÊÇÎÒ¹¤³ÌÖÐÄǸöÀàÖз½·¨FµÄ½á¹û¡£
²»ÖªµÀËÅöµ½¹ýÕâ¸öÎÊÌ⣬Ôõô½â¾öµÄ£¿ÊDz»ÊÇg++ÔÚÁ¬½ÓµÄʱºòÐèÒª¼ÓÉÏʲô²ÎÊý£¿
sauntor ÓÚ 2010-09-06 22:53:46·¢±í:
ÁíÍ⣬¶ÔÓÚC++³ÌÐò£¬Ò»°ã¶øÑÔÓ¦µ±Ê¹ÓÃÃüÃû¿Õ¼ä£¬ËùÒÔÔÚÏîÄ¿Éè¼ÆÖ®³õÓ¦µ±¿¼ÂÇʹÓÃC++ÃüÃû¿Õ¼äµÄÌØÐÔ¡£
sauntor ÓÚ 2010-09-06 22:51:34·¢±í:
g++ºÍgccÒ»Ñù¶¼ÓиöÑ¡Ïî¿ÉÒÔÈÃÄãÔÚ±àÒëʱÌø¹ýC/C++µÄ±ê×¼¿â£¬¶ÔÓÚC++Õâ¸öÑ¡ÏîÊÇ--nostdinc++£¬Í¨³£Õâ¸öÑ¡ÏîÖ»ÔÚ±àÒëGCC»òLinux Kernelʱ²Å»áÓõ½£¬Ïêϸ½âÊÍÇë²Î¿¼GCCÊֲᣬף¾ýºÃÔË (o):tx
pdsxw123 ÓÚ 2010-09-06 21:07:37·¢±í:
¶¥Æ𣡣¡
pdsxw123 ÓÚ 2010-09-06 20:58:59·¢±í:
±ÈÈç˵ÎҵŤ³ÌÐèҪʹÓÃA.so£¬B.soÁ½¸ö¶¯Ì¬¿â£¬¿ÉÊÇÓÉÓÚA£¬BÖж¼ÓÐclass MµÄ¶¨Ò壬²¢ÇÒÓÐÒ»¸öÖØÃûµÄ
·½·¨£¬AÖе÷Óô˷½·¨µÄ»°£¬¾ÍÊǸö²»È·¶¨µÄ½á¹û¡£
Õâ¸öÎÊÌâÊÇÔÚ±àÒëµÄ¼ÓʲôѡÏî½â¾öÄØ£¬»¹ÊÇÖ±½ÓʹÓÃÃüÃû¿Õ¼ä½â¾ö£¿
pdsxw123 ÓÚ 2010-09-06 20:58:22·¢±í:
ÓÐËÅöµ½Õâ¸öÎÊÌâÁË£¿ÊÇÔõô½â¾öµÄÄØ