Search:

Type: Posts; User: vart

Search: Search took 0.06 seconds.

  1. Replies
    5
    Views
    2,388

    while(fscanf(f1, "%d %d,%d",...) == 3) { //...

    while(fscanf(f1, "%d %d,%d",...) == 3)
    {
    // fill next INST with the contents read
    }
  2. Replies
    5
    Views
    2,388

    read FAQ - why you should not use feof to control...

    read FAQ - why you should not use feof to control loop

    instead loop should look like


    while(fscanf(f1, "%d %d,%d",...) == 3)
    {
    ...
    }
Results 1 to 2 of 2