Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

CÓïÑÔÖÐûÓк¯ÊýÖØÔصĸÅÄî

CÓïÑÔÖÐûÓк¯ÊýÖØÔصĸÅÄ£¡
CÓïÑÔÖÐûÓк¯ÊýÖØÔصĸÅÄ£¡
½ñÌìMSNȺÖÐÓиöÈËÎÊÎÒCÓïÑÔµÄÎÊÌ⣺
     £¨Á½¸öº¯ÊýʵÏֵŦÄÜÏàͬ
       µ«ÊÇËüÃDzÎÊýµÄ¸öÊý²»Í¬
       ÎÒÓÃÒ»¸öº¯Êý°ÑÕâ¸öÁ½¸öº¯Êý·âÆðÀ´
        ÎÒÕâ¸öº¯ÊýµÄ²ÎÊýÔõôÉèÖã¿
       Ö¸µãÒ»ÏÂ
       лÀ²
        ÎÒÕâ¸öº¯Êýͨ¹ýºêÀ´Çø·ÖÄÇÁ½¸öº¯Êý£©
»Ø´ðµÄʱºò£¬ÎÒÌáµ½Á˺¯ÊýµÄÖØÔØ£¬»¹Ç¿µ÷CÓïÑÔÒ²Óк¯ÊýµÄÖØÔØ¡£囧ÁË¡£ÉÏÍøÒ»²é²Å·¢ÏÖCÖÐûÓк¯ÊýµÄÖØÔصĸÅÄ¶øÊÇC++ÖвÅÓС£ÓÉÓÚ±àÒëÆ÷µÄÎÊÌ⣬CÖв»ÔÊÐíº¯ÊýͬÃû¡£¡£µ«ÊÇC++ʵÏÖÁËÔÚ±àÒëµÄʱºòµÄ±ä»¯¡£
ÖÁÓÚʵÏÖÉÏÃæÄǸöÈËÎʵÄÎÊÌ⣬Ï൱ÓÚ


Ïà¹ØÎĵµ£º

C preprocessor

http://en.wikipedia.org/wiki/C_preprocessor
C preprocessor
from Wikipedia, the free encyclopedia
Jump to:navigation, search
The C preprocessor (cpp) is the preprocessor for the C programming language. In many C implementations, it is a separate program invoked by the compiler as the first part ......

CÒÅÁôµÄ½á¹¹Ìøת ±±º£

1)          goto
goto Ö»ÄÜÔÚÒ»¸öº¯ÊýÄÚÌøת¡£½¨ÒéÉÙÓã¬Ê¹µÃ³ÌÐòά»¤ÆðÀ´ÈÝÒ׳ö´í£»µ«ÊÇ£¬ÔÚÓжà¸öÑ­»·Çé¿öÏÂÌøת£¬ÓÐʱÓÃgoto¿ÉÒÔʹµÃÎÊÌâ±äµÃ¼òµ¥¡£
class A
{
public:
A(){}
~A(){}
};
           &nbs ......

CÖ¸ÕëÖ®ÃÀÒ»£ºÉñÆæµÄº¯Êý

void mystery(int n)
{
 n += 5;
 n /= 10;
 printf(" :%s\n","***********" + 10 -n);
}
µ±Ò»¸ö×Ö·û´®³£Á¿Î»ÓÚÒ»¸ö±í´ïʽÖÐʱ£¬ËüµÄÖµÊÇÒ»¸öÖ¸Õë³£Á¿¡£±àÒëÆ÷°ÑÕâЩָ¶¨×Ö·ûµÄÒ»·Ý¿½±´´æ´¢ÔÚÄÚ´æµÄij¸öλÖ㬲¢´æ´¢Ò»¸öÖ¸ÏòµÚ1¸ö×Ö·ûµÄÖ¸Õë¡£µ«ÊÇ£¬µ±Êý×éÃûÓÃÓÚ±í´ïʽÖÐʱ£¬ËûÃǵÄÖµÒ²ÊÇÒ»¸öÖ¸Õë³£Á¿ ......

extern "C"(zz)


 ´ÓijλÍøÓѵIJ©¿Í¿´µ½¹ØÓÚextern "C"Ó÷¨µÄÎÄÕ£¬½²µÃ·Ç³£Í¸³¹£¬ÓÚÊǾÍÕª³­ÁËÎÒ֮ǰ²»ÉõÁ˽âµÄ²¿·Ö×ö¸öbackup¡£
Ò»¡¢´ÓCÓëC++±àÒëÁ¬½Ó·½Ê½ÉîÈëÀí½âextern "C"
<1>.CºÍC++¶Ôº¯ÊýµÄ´¦Àí·½Ê½ÊDz»Í¬µÄ.±»extern "C"ÐÞÊεıäÁ¿ºÍº¯ÊýÊÇ°´ÕÕCÓïÑÔ·½Ê½±àÒëºÍÁ¬½ÓµÄ.extern "C"ÓÃÓÚʵÏÖC++ÓëC¼°ÆäËüÓïÑԵĻìºÏ±à³Ì¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ