亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cintro.doc

?? 編譯c語言的編譯器源碼 含有目標程序
?? DOC
?? 第 1 頁 / 共 5 頁
字號:
      that you would use a simple  value  in  'C',  you  can  also  use  an
      expression. We have already seen that with the "return" statement  in
      the "add" function in our example program. Knowing that  we  can  use
      expressions and values interchangably, we could shorten  the  example
      "main" function to:
   
           main()
           {
               int a, b;
   
               a = 1;
               b = 2;
               printf("The result of (1+2)=%d\n", add(a,b));
           }
   
       or even:
   
           main()
           {
               int a, b;
   
               a = 1;
               b = 2;
               printf("The result of (1+2)=%d\n", a+b);
           }
   
       or even:
   
           main()
           {
               printf("The result of (1+2)=%d\n", 1 + 2);
           }
   
       Or, if we wanted the 'a, b & c' variables set anyway:
   
           /* Note the use or round brackets '()' to incorporate
              a SUB-EXPRESSION into the main expression */
           main()
           {
               int a, b, c;
   
               printf("The result of (1+2)=%d\n", c = (a = 1) + (b = 2));
           }
   
         You can see that an entire expression, including three ASSIGNMENTS
      was included in a place where only a simple value is  used.  This  is
      one of the great powers of 'C', and can result  in  very  small  fast
      efficent code (at the expense of readability). Numerous  examples  of
      this type of programming may by found in  the  source  code  for  the
      MICRO-C compiler.
   Intro to MICRO-C                                                 Page: 22


      4.1 Unary operators
   
            Unary (single operand)  operators  are  those  operators  which
         perform a computation on only a single value. In most  cases,  the
         operator must be placed immediatly BEFORE the value to be operated
         on.
   
         4.1.1 Negate: -
   
               The NEGATE operator causes the value  to  its  right  to  be
            changed in sign. Thus, a positive value will be converted to  a
            negative value (of the same magnitude) and vice  versa.  It  is
            most often used to enter negative numbers, but it is  perfectly
            legal to apply this operator to a variable or expression.
   
           eg:     a = -5;         /* a = negative 5 */
                   b = 10;         /* b = positive 10 */
                   c = -b;         /* c = -10 */
                   d = -(b+5);     /* d = -15 */
                   e = -b+5;       /* e = -5  *
                   f = -a;         /* f = 5   */
   
         4.1.2 Bitwise Complement: ~
   
               The BITWISE COMPLEMENT operator reverses the value (0 or  1)
            of each individual BIT in the value to its right. This is  very
            useful when used with the other BITWISE operators (AND, OR  and
            XOR), to perform test on combinations of bits in a byte  (char)
            or word (int).
   
           eg:     a = 5;          /* a = 00000101 */
                   b = ~a;         /* b = 11111010 */
   
         4.1.3 Logical Complement: !
   
               The LOGICAL COMPLEMENT operator reverse the "logical  sense"
            (TRUE or FALSE) of the value to its right. In 'C'  a  value  is
            considered to be logically TRUE if it contains any value  other
            than zero. A value of zero is considered to be logically FALSE.
            The logical complement gives a value of  zero  (FALSE)  if  the
            original value was non-zero, and a value of one (TRUE)  if  the
            original value was zero. You will  see  later  that  there  are
            CONDITIONAL statements in 'C', which perform certain operations
            only if values are TRUE. This operator provides a simple method
            of reversing those conditions to occur when the value is FALSE.
   
           eg:     if(a) b = 10;   /* Set b to 10 if a is TRUE */
                   if(!a) b = 10;  /* Set b to 10 if a is FALSE */
   Intro to MICRO-C                                                 Page: 23


         4.1.4 Increment: ++
   
               The INCREMENT operator must be used on a value that  can  be
            ASSIGNED (such as a variable or array element). It  causes  the
            value to be INCREASED by one (except for a  special  case  with
            POINTERS which are advanced by the size of the  type  to  which
            they point).
   
               Unlike most other unary operators,  the  increment  operator
            may be placed either BEFORE or AFTER  the  value,  and  behaves
            slightly differently  depending  on  its  position.  If  placed
            BEFORE the value, the variable  is  incremented,  and  the  new
            value is passed on as the result. If placed  AFTER  the  value,
            the original value is passed on as the result, and the variable
            is then incremented.
   
           eg:     a = b = 10;     /* Set a & b to 10 */
                   c = ++a;        /* c = 11 (a = 11) */
                   d = b++;        /* d = 10 (b = 11) */
   
         4.1.5 Decrement: --
   
               The  DECREMENT  operator  behaves  exactly   the   same   as
            increment,  except  that  the  value  is  REDUCED  instead   of
            increased.
   
           eg:     a = b = 10;     /* Set a & b to 10 */
                   c = --a;        /* c = 9  (a=9) */
                   d = b--;        /* d = 10 (b=9) */
   
         4.1.6 Indirection: *
   
               The INDIRECTION operator may only be applied to POINTERS, or
            expressions which result in a  POINTER  VALUE.  It  causes  the
            memory contents at the address contained in the pointer  to  be
            accessed, instead of the pointer value itself.
   
           eg:     char *ptr;      /* Declare a pointer to character */
                   ptr = 10;       /* Set pointer variable to 10 */
                   *ptr = 5;       /* Set 'char' at address 10 to 5 */
                   a = ptr;        /* a = 10 (pointer value) */
                   b = *ptr;       /* b = 5 (Indirect through address 10) */
   
         4.1.7 Address: &
   
               The ADDRESS operator may only be used on a value  which  can
            be ASSIGNED (such as a variable or array element).  It  returns
            the memory address of the value, instead of the value itself.
   
           eg:     a = 10;         /* Set variable a to 10 */
                   ptr = &a;       /* Get address of 'a' */
                   b = *ptr;       /* b = 10 (contents of 'a') */
                   *ptr = 15;      /* Store 15 at address of 'a' */
                   c = a;          /* c = 15 */
   Intro to MICRO-C                                                 Page: 24


      4.2 Binary Operators
   
            In additon to the "unary" operators presented above, 'C' has  a
         large complement of BINARY (two  operand)  operators.  The  binary
         operators take two values, presented on the left and right side of
         the operator, and combine them into some form of computed value.
   
         4.2.1 Addition: +
   
               The ADDITION operator computes the SUM of two values.
   
           eg:     a = b + 5;      /* a = sum of b and 5 */
   
         4.2.2 Subtraction: -
   
               The SUBTRACTION operator  computes  the  DIFFERENCE  of  two
            values.
   
           eg:     a = b - 5;      /* a = difference of b and 5 */
   
         4.2.3 Multiplication: *
   
               The MULTIPLICATION operator  computes  the  PRODUCT  of  two
            values.
   
           eg:     a = b * 5;      /* a = b multiplied by 5 */
   
         4.2.4 Division: /
   
               The DIVISION operator computes the QUOTIENT  resulting  from
            the division of the left value by the right value.
   
   
           eg:     a = b / 5;      /* a = b divided by 5 */
   
         4.2.5 Modulus: %
   
               The MODULUS operator computes the REMAINDER  resulting  from
            the division of the left value by the right value.
   
           eg:     a = b % 5;      /* a = remainer of b divided by 5 */
   
         4.2.6 Bitwise And: &
   
               The BITWISE AND operator performs an AND  function  on  each
            pair of bits between the values. Bit positions which have a one
            (1) bit in BOTH values will receive a one in  the  result.  All
            other bit positions will receive zero (0).
   
           eg      a = 5;          /* a = 00000101 */
                   b = 6;          /* b = 00000110 */
                   c = a & b;      /* c = 00000100 (4) */
   Intro to MICRO-C                                                 Page: 25


         4.2.7 Bitwise Or: |
   
               The BITWISE OR operator performs an OR function on each pair
            of bits between the values. Bit positions which have a one  (1)
            in EITHER value will receive a one in the result. All other bit
            positions will receive zero (0).
   
           eg      a = 5;          /* a = 00000101 */
                   b = 6;          /* b = 00000110 */
                   c = a | b;      /* c = 00000111 (7) */
   
         4.2.8 Bitwise Exclusive Or: ^
   
               The BITWISE EXCLUSIVE OR operator performs an  EXCLUSIVE  OR
            function on each pair of bits between the values. Bit positions
            which have a one (1) in EITHER value, but NOT  IN  BOTH  values
            will receive a one in the result. All other bit positions  will
            receive zero (0).
   
           eg      a = 5;          /* a = 00000101 */
                   b = 6;          /* b = 00000110 */
                   c = a ^ b;      /* c = 00000011 (3) */
   
         4.2.9 Logical And: &&
   
               The LOGICAL AND operator returns  TRUE  (non-zero)  only  if
            BOTH values are TRUE. If either value is FALSE, FALSE (zero) is
            returned.
   
               MICRO-C accomplishes this by evaluating the left value,  and
            returning zero (FALSE) if it is equal to  zero,  otherwise  the
            right value is evaluated and returned. Some 'C' compilers force
            the returned value to be either zero (0) or one (1).
   
           eg:     if(a && b)
                       printf("Both 'a' AND 'b' are TRUE");
   
         4.2.10 Logical Or: ||
   
               The LOGICAL OR operator returns TRUE  (non-zero)  if  EITHER
            value is true, if  both  values  are  FALSE,  FALSE  (zero)  is
            returned.
   
               MICRO-C accomplishes this by evaluating the left value,  and
            returning its value if it is not  zero  (TRUE),  otherwise  the
            right value is evaluated and returned. Some 'C' compilers force
            the returned value to be

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产片一区二区| 在线不卡欧美精品一区二区三区| 亚洲.国产.中文慕字在线| 欧美精品一区二区三| 欧美精品一二三| 欧美日韩精品欧美日韩精品一 | 欧美日韩高清影院| 欧美中文字幕不卡| 欧美性大战久久久久久久蜜臀| 97aⅴ精品视频一二三区| 波多野结衣在线aⅴ中文字幕不卡| 国内外成人在线| 日本成人中文字幕| 精品中文字幕一区二区| 国产精品午夜在线| 精品对白一区国产伦| 337p粉嫩大胆噜噜噜噜噜91av | 亚洲一区二区三区视频在线 | 粉嫩av一区二区三区在线播放| 欧美在线免费播放| 亚洲三级在线免费| 国产精品一级二级三级| 日韩午夜av电影| 亚洲成av人片在www色猫咪| 91在线观看污| 欧美国产一区在线| 国产成人精品三级麻豆| 精品美女一区二区三区| 玖玖九九国产精品| 日韩一级片网址| 青娱乐精品在线视频| 欧美日韩一级大片网址| 亚洲一区二区在线视频| 97精品视频在线观看自产线路二| 国产日韩精品一区二区三区| 国产麻豆精品久久一二三| 日韩女优电影在线观看| 精品中文字幕一区二区小辣椒| 91精品国产综合久久精品app| 亚州成人在线电影| 日韩视频一区二区在线观看| 日韩极品在线观看| 日韩久久久精品| 奇米色777欧美一区二区| 7777女厕盗摄久久久| 免费观看30秒视频久久| 精品国产1区2区3区| 国产精品一区二区黑丝| 国产精品人人做人人爽人人添| 懂色av中文一区二区三区| 国产精品国产三级国产aⅴ原创| 成人在线一区二区三区| 亚洲精品欧美综合四区| 欧美日韩专区在线| 久久不见久久见免费视频7| 久久精品视频一区| 99久久久无码国产精品| 亚洲国产日韩综合久久精品| 欧美一区欧美二区| 国产精品99久久久久久宅男| 国产精品成人网| 欧美视频在线一区二区三区 | 国产麻豆视频一区| 18涩涩午夜精品.www| 欧美精品在线观看播放| 国产资源在线一区| 亚洲欧美另类综合偷拍| 欧美乱妇15p| 粉嫩高潮美女一区二区三区| 一区二区欧美国产| 精品粉嫩超白一线天av| 色婷婷精品久久二区二区蜜臂av | 国产精品婷婷午夜在线观看| 99精品偷自拍| 久久不见久久见免费视频1| 18成人在线视频| 91精品国产欧美日韩| 成人a级免费电影| 偷窥国产亚洲免费视频| 中文字幕第一区综合| 欧美日韩精品是欧美日韩精品| 国产成人自拍高清视频在线免费播放| 一区二区三区免费在线观看| 久久色视频免费观看| 欧美日韩综合一区| 99久久精品免费| 久久99热这里只有精品| 亚洲亚洲人成综合网络| 国产精品久久久久久久久免费丝袜| 欧美精品久久99久久在免费线 | 国产精品乱码妇女bbbb| 欧美日韩免费一区二区三区视频| 国产一区二区三区在线观看免费 | 欧美性生交片4| 懂色av一区二区三区免费看| 日韩电影免费在线观看网站| 一区二区中文视频| 久久影视一区二区| 欧美一区二区三区在线看| 91日韩精品一区| 成人午夜激情影院| 国产一区二区在线观看视频| 日韩不卡手机在线v区| 亚洲欧美日韩国产手机在线| 国产精品伦一区二区三级视频| 日韩欧美一区电影| 宅男在线国产精品| 欧美揉bbbbb揉bbbbb| 欧美亚洲国产一区在线观看网站| 99视频精品在线| 成人h动漫精品| 成人国产精品免费观看视频| 国产乱对白刺激视频不卡| 久久精品72免费观看| 六月丁香综合在线视频| 日本va欧美va瓶| 日产国产欧美视频一区精品 | 亚洲欧美日韩一区二区| 国产精品三级电影| 国产精品国产三级国产aⅴ无密码| 国产偷国产偷亚洲高清人白洁| 久久先锋影音av| 久久综合中文字幕| 国产色婷婷亚洲99精品小说| 久久夜色精品国产噜噜av| 久久久精品人体av艺术| 欧美精品一区二区久久婷婷 | 国产一区欧美一区| 国内成人免费视频| 国产成人精品影院| 成人h版在线观看| 色综合一区二区三区| 91久久精品网| 欧美高清视频在线高清观看mv色露露十八| 日本精品视频一区二区三区| 欧美日韩一区成人| 日韩一区二区视频| 久久久国产综合精品女国产盗摄| 久久九九久久九九| 亚洲欧美日韩电影| 日韩va亚洲va欧美va久久| 极品少妇xxxx精品少妇| 国产自产2019最新不卡| 97精品电影院| 欧美精品第1页| 久久久久国产一区二区三区四区| 中文字幕乱码亚洲精品一区| 亚洲综合色噜噜狠狠| 美女在线观看视频一区二区| 韩国欧美一区二区| 91福利社在线观看| 一区二区欧美精品| 蜜臀久久99精品久久久久久9 | 国产欧美日韩精品一区| 亚洲精品国久久99热| 日本亚洲视频在线| 高清国产一区二区| 欧美日产在线观看| 国产蜜臀av在线一区二区三区| 亚洲裸体xxx| 国产在线精品免费av| 色综合视频在线观看| 欧美变态凌虐bdsm| 亚洲激情网站免费观看| 精品亚洲国产成人av制服丝袜| 91猫先生在线| 久久女同性恋中文字幕| 午夜亚洲国产au精品一区二区| 国产黄色精品视频| 3d动漫精品啪啪1区2区免费 | 精品国产青草久久久久福利| 亚洲免费在线视频一区 二区| 看电视剧不卡顿的网站| 欧美系列一区二区| 中文字幕亚洲欧美在线不卡| 麻豆精品在线观看| 色哦色哦哦色天天综合| 日本一区二区成人| 精品影院一区二区久久久| 欧美色电影在线| 中文字幕一区三区| 国产伦精品一区二区三区视频青涩 | 亚洲制服丝袜在线| 成人美女在线观看| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | av男人天堂一区| 久久色在线视频| 久久精品二区亚洲w码| 制服丝袜成人动漫| 亚洲成在人线在线播放| 在线免费观看日本欧美| 国产精品国产三级国产专播品爱网 | 国内精品伊人久久久久av影院 | 美女一区二区视频| 欧美日韩国产大片| 亚洲一区二区在线免费看| 色一区在线观看| 亚洲免费观看高清在线观看| 国产精品18久久久久久vr| 精品国内二区三区|