Search:

Type: Posts; User: cowcow8866

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,082

    Ambiguity problem

    I have an exam question about the ambiguity of if then else.



    #define testNeg(x) if (x>0) printf("Ouuch\n")

    if(a>b)
    testNeg(x)

    else
  2. Replies
    7
    Views
    3,899

    Sorry, I know I did not express clearly. In...

    Sorry, I know I did not express clearly.

    In simple, I need the merry-go-round (disk and cylidners) to rotate around the center of the disk rather than the disk and cylinders rotate around the...
  3. Replies
    7
    Views
    3,899

    Self rotation means the whole thing does not...

    Self rotation means the whole thing does not move(no relative movement to the ground) and only the cylinders and the circular disk rotates,the desired rotation just like the real merry go round in...
  4. Replies
    7
    Views
    3,899

    OpenGL rotation of merry-go-round

    I have rendered a merry-go-round in the following code. However, when I set rotation, it just gives me rotation of the whole thing around the y-axis but not a self-rotation. My question is how can...
  5. Replies
    5
    Views
    1,495

    http://219.78.202.86:8080/him.c ...

    http://219.78.202.86:8080/him.c
    http://219.78.202.86:8080/testcase.c (the code with main function)
    here is the code. However, since I will power off my computer around 0000(HKT), so it will be not...
  6. Replies
    5
    Views
    1,495

    Warning message from Valgrind

    I would like to ask whether the following message will pose a potential bug to the program.

    Syscall param pwrite(64) points to uninitialised bytes.

    What is this problem about and more...
  7. Replies
    2
    Views
    1,165

    Structures...

    The schema of the program is


    typedef xxx{
    ...
    ...}yyy;

    int www(){
    yyy z;
Results 1 to 7 of 7