Search:

Type: Posts; User: iMalc

Search: Search took 0.04 seconds.

  1. Just wondering... Why have you used a structure...

    Just wondering... Why have you used a structure of arrays rather than an array of structures?

    Switching to an array of structures would reduce the length of that program by at least 30 lines of...
  2. I specifically quoted that part because of the...

    I specifically quoted that part because of the fact that you were using a different variable for the indexing as was being altered in the loop.

    There's nothing really weird or wrong about using a...
  3. This doesn't look right either: for (i = a;...

    This doesn't look right either:

    for (i = a; i < b-1; ++i)
    fprintf(ofp,"%lf, %lf, %lf, %lf \n", tmp.t[iiii], tmp.x[iiii],tmp.y[iiii], tmp.z[iiii]);
    You know you've got a problem when you've...
Results 1 to 3 of 3