you could try this:

Code:
fscanf(file,"%d %*d %d %*d %d", &a, &b, &c);
the * will cause the input field to be skipped and no assignment will be made.