Search:

Type: Posts; User: TongGeGe

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    6,561

    temp=(x-1)/x; ........ Many integer division...

    temp=(x-1)/x;
    ........

    Many integer division expressions......
    I recommend that all variables use double type
  2. Replies
    5
    Views
    6,561

    temp=(x-1)/x; ........ Many integer division...

    temp=(x-1)/x;
    ........

    Many integer division expressions......
    I recommend that all variables use double type
  3. Replies
    3
    Views
    2,069

    emmmm......That is to say if I use ++ operator,I...

    emmmm......That is to say if I use ++ operator,I cannot predict the value of the parameters?
  4. Replies
    3
    Views
    2,069

    Strange result.Why?

    I happened to meet this code:


    #include <stdio.h>

    int main(){
    int count = 0;;
    printf("%d%d%d%d",++count ,++count ,++count ,++count ) ;
    }
Results 1 to 4 of 4