I used ctrl-z to signal the sw to go and it reports faithfully (using cin.eof) that EOF has changed from 0 to 1. Now I want to reset EOF to 0 so I can use it again.
I thought of rewind but this is not file work.
I thought of rewind but this is not file work.
Comment