Switch statement in file input/output

Solved
Last edited on
When you do the first case first, you reach the end of the file and the flag is no longer good.
Topic archived. No new replies allowed.