while(fscanf(f1, "%d %d,%d",...) == 3)
{
// fill next INST with the contents read
}
Type: Posts; User: vart
while(fscanf(f1, "%d %d,%d",...) == 3)
{
// fill next INST with the contents read
}
read FAQ - why you should not use feof to control loop
instead loop should look like
while(fscanf(f1, "%d %d,%d",...) == 3)
{
...
}