Search:

Type: Posts; User: candy.chiu.ad

Search: Search took 0.01 seconds.

  1. sorry to cause confusion. I didn't show the...

    sorry to cause confusion. I didn't show the complete code. n is predefined. lines is void*.

    yes, I want to make sure that I am interpreting the lvalue rvalue stuff correctly. The loop is...
  2. fixing lvalue quired as increment operand

    Hi,

    Compiler complained about the second line: error: lvalue required as increment operand


    for (; n > 0; n--) {
    target = *((int *)lines)++;
    new_line(target);
    }
Results 1 to 2 of 2