Search:

Type: Posts; User: quzah

Search: Search took 0.23 seconds.

  1. Thread: Array Operations

    by quzah
    Replies
    5
    Views
    3,655

    That's not the problem I was talking about. Say...

    That's not the problem I was talking about. Say numCols is 2. Then:
    double oper[2-1]; /* 2 - 1 = 1 */
    ...
    for(c = 0; c < 2 /* loop for element 0 and element 1 */; c++)
    ... oops, oper[ 1 ] is...
  2. Thread: Array Operations

    by quzah
    Replies
    5
    Views
    3,655

    double oper[numCols-1]; ... for(c = 0; c

    double oper[numCols-1];
    ...
    for(c = 0; c < numCols; c++)You have a problem there.


    Quzah.
Results 1 to 2 of 2