ºìÁªLinuxÃÅ»§
Linux°ïÖú

¹ØÓÚc±à³Ì

·¢²¼Ê±¼ä:2007-07-31 12:08:24À´Ô´:ºìÁª×÷Õß:M2Ìì³á2D
½ñÌì²Å¿ªÊ¼ÓÃlinuxϵÄvi+gcc±à³Ì ¿ÉÊÇÒѾ­Óöµ½Âé·³ÁË ¾ÍÏÂÃæÕâ¸ö³¬¼¶¼òµ¥µÄ³ÌÐò³öÎÊÌâÁË
void main(){
int a,b,c;
a=10;
b=20;
c=a+b;
printf("a+b=%d\n");
}
Õâ¸ö×îÏÈ»¹ÊÇÕý³£µÄ ´òÓ¡Êä³öa+b=30
¿ÉÊǺóÀ´Ëû¾Í´òÓ¡Êä³öa+b=-1024272Õâô¹ÖµÄ´ð°¸ ÎÒÖªµÀÕâ¸öÊÇÒòΪ»º´æÖеÄÊý¾ÝµÄÔ­Òò ËùÒÔÎÒÓÖ¸ÄΪÏÂÃæÕâÑù ¿É½á¹ûÒÀÈ»ÊÇÄÇÑù
void main(){
int a=0;b=0;c=0;
a=10;
b=20;
c=a+b;
printf("a+b=%d\n");
}

¸ßÊÖÃÇ°ïÎÒ¿´¿´¹þ Íò·Ö¸Ð¼¤
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 15 ÌõÆÀÂÛ

  1. Ä̲èdsk ÓÚ 2007-09-25 17:10:41·¢±í:

    Ì«ÎÞÓïÁË£¬£¬£¬£¬£¬£¬£¬Â¥ÉÏ˵µÄºÃ£¬Ð¡³ÌÐò²»ÈÏÕæÔõô´ò´ó³ÌÐò¡£¡£¡£

  2. zhbzh_200 ÓÚ 2007-09-25 10:27:49·¢±í:

    ³õѧÕ߶¼»á³öÕâÑùµÄÎÊÌ⣬ÎÒÒ²Ôø¾­³ö¹ý£¬º¹£¡:victory:

  3. organization ÓÚ 2007-09-22 16:35:34·¢±í:

    ºÃÏóÓ¦¸ÃÓÃprintf("a+b=d%\n",c);

  4. zpsevenstar ÓÚ 2007-09-21 21:16:29·¢±í:

    :0L

  5. cctv2cctv ÓÚ 2007-09-21 04:55:47·¢±í:

    ÎÞÓïÁË

  6. tony86731 ÓÚ 2007-08-09 20:34:47·¢±í:

    printfº¯ÊýµÄ¸ñʽºÃÏñ²»¶Ô°É£¬ÉÙ²ÎÊýÁË¡£

  7. zblinux ÓÚ 2007-08-06 22:24:00·¢±í:

    ºÇºÇ¡£¡£²»ÒªÕÒÀíÓÉŶ£¡£¡Ð¡³ÌÐò²»ÈÏÕæÈçºÎд´óµÄ³ÌÐò£¿£¿£¿´í²»»á¸ü¶àµÄ£¡£¡£¡

  8. wzck_861 ÓÚ 2007-08-04 09:18:16·¢±í:

  9. flyingayi2006 ÓÚ 2007-08-03 17:22:35·¢±í:

    ²»¿ÍÆø°¡

  10. flyingayi2006 ÓÚ 2007-08-03 17:22:22·¢±í:

    лл °¡

  11. cjaiscja ÓÚ 2007-08-01 11:52:08·¢±í:

    ºÇºÇ,

  12. aerodone ÓÚ 2007-08-01 09:41:30·¢±í:

    ÎÞÓïÁË

  13. M2Ìì³á2D ÓÚ 2007-07-31 17:42:21·¢±í:

    °¡ лл¥ÉÏÁ½Î» µ±Ê±ÎÒÖ»ÊÇÊÔÒ»ÊÔÔÚLinuxϱà³Ì ûÏëµ½·¸ÁËÕâ¸ö´íÎó ÎÞÓïÁË ×Ô³°Ò»Ï¡°ÎÒÕæÊÇÌ«ÓвÅÁË¡±

  14. 221.12.171.* ÓÚ 2007-07-31 16:05:37·¢±í:

    Â¥ÉÏÕý½â£¬´òÓ¡³öÄÚ´æÖÐËæ»úµØÖ·µÄÖµÁË

  15. 124.228.31.* ÓÚ 2007-07-31 15:00:03·¢±í:

    벡ÔÚÕâ
    printf("a+b=%d\n");ºÃºÃ¿´¿´printfÓóÉÕâÑù£¬¿ÉÊÇ´ÖÐĵ½¼ÒÁË