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

C_ÆÕͨλÔËËã

 Ô´Âë:
# include <stdio.h>
 
int main()
{
    /* ¶¨ÒåÁËÒ»¸öÎÞ·ûºÅ×Ö·ûÐͱäÁ¿£¬´Ë±äÁ¿Ö»ÄÜÓÃÀ´´æ´¢ÎÞ·ûºÅÊý */
    unsigned char result;
    
    int a, b, c, d;
    a = 2;
    b = 4;
    c = 6;
    d = 8;
 
    /* ¶Ô±äÁ¿½øÐГ°´Î»Ó딲Ù×÷ */
    result = a & c;
    printf("result = %d\n", result);
 
    /* ¶Ô±äÁ¿½øÐГ°´Î»»ò”²Ù×÷ */
    result = b | d;
    printf("result = %d\n", result);
 
    /* ¶Ô±äÁ¿½øÐГ°´Î»Òì»ò”²Ù×÷ */
    result = a ^ d;
    printf("result = %d\n", result);
 
    /* ¶Ô±äÁ¿½øÐГȡ·´”²Ù×÷ */
    result = ~a;
    printf("result = %d\n", result);
    return 0;
}


Ïà¹ØÎĵµ£º

ÃÀ¹úרÀû·¨Ìõ¿î102(c),102(d)

www.us-ip.com
ÃÀ¹úרÀû·¨Ìõ¿î102(c),102(d)
35 U.S.C. 102:
A person shall be entitled to a patent unless -
(c) he has abandoned the invention
102(c)Ìõ¿îÖ¸³öÈç¹û·¢Ã÷ÈËÒÅÆúÁË·¢Ã÷£¬ÄÇô·¢Ã÷È˽«²»ÄÜ»ñµÃÃÀ¹úרÀû¡£·¢Ã÷ÈËÒÅÆú·¢Ã÷±ØÐëÊǹÊÒâµÄÐÐΪ£¬²¢ÇÒÒâͼ½«ÒÅÆúµÄ·¢Ã÷·îÏ׸øÉç»á¡£·¢Ã÷È˲»Ò»¶¨ÐèÒª¹«¿ªÐûÊ¾Õ ......

ÓÃC# ʵÏÖC/SģʽÏÂÈí¼þ×Ô¶¯ÔÚÏßÉý¼¶

 Õª   Òª£º
¡¡±¾ÎÄÕë¶ÔÄ¿Ç°C/SģʽϱàдµÄÓ¦ÓóÌÐò¿Éά»¤ÐÔ²îµÄÌص㣬Ìá³öÁËÒ»Ì××Ô¶¯ÔÚÏßÉý¼¶µÄ½â¾ö·½°¸£¬·ÖÎöÁËÔÚÏßÉý¼¶µÄÀ§ÄѼ°ÊµÏÖÔ­Àí£¬²¢¸ø³öÁËʵÏÖÉý¼¶µÄ²¿·Ö´úÂ룬¾ßÓÐʵ¼Ê²Î¿¼¼ÛÖµºÍÏÖʵÒâÒå¡£±¾ÎijÌÐò´úÂë¾ùÔÚ.Net Framework 1.1 ºÍWindows2000ϲâÊÔͨ¹ý¡£
¡¡¹Ø¼ü´Ê£ºC#£»ÔÚÏßÉý¼¶£»×Ô¶¯Éý¼¶£ ......

ÓÉCÊý×éarray[

        ×òÌìÒ»¸öͬѧºÍÎÒ̸ÆðËûÔÚ²âÊÔC³ÌÐòʱʱ·¢ÏÖʹÓÃ-1ΪϱêÀ´·ÃÎÊÊý×飬gcc²¢Ã»Óб¨´í£¬¶øÇÒÄܹ»ÔËÐгɹ¦£¬Õâ¸öÒÔÇ°ÎÒ»¹Ã»ÊÔ¹ý£¬´¦ÓÚºÃÆ棬½ñÌìÏÂÎç³éÁ˵ãʱ¼ä¿´ÁËһϡ£
     ÏÂÃæÊÇÎÒʹÓõIJâÊÔ´úÂ룬ÔËÐл·¾³ÊÇDEV-C++4.9.9.2£¬±àÒëÆ÷ʹÓõÄÊÇgcc¡£
&nb ......

C/C++ʱ¼äº¯ÊýʹÓ÷½·¨£¨×ª£©

C++¶Ôʱ¼äµÄ²Ù×÷Ò²ÓÐÐí¶àÖµµÃ´ó¼Ò×¢ÒâµÄµØ·½¡£×î½ü£¬ÔÚ¼¼ÊõȺÖÐÓкܶàÍøÓÑÒ²¶à´ÎÎʵ½¹ýC++ÓïÑÔÖжÔʱ¼äµÄ²Ù×÷¡¢»ñÈ¡ºÍÏÔʾµÈµÈµÄÎÊÌâ¡£ÏÂÃ棬ÔÚÕâƪÎÄÕÂÖУ¬±ÊÕß½«Ö÷Òª½éÉÜÔÚC/C++ÖÐʱ¼äºÍÈÕÆÚµÄʹÓ÷½·¨.
         ͨ¹ýѧϰÐí¶àC/C++¿â£¬Äã¿ÉÒÔÓкܶà²Ù×÷¡¢Ê¹ÓÃʱ¼äµÄ·½·¨¡£µ«Ô ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ