I'm having a problem with this program that reads a text document from start to finish, and then needs to repeat it. Only problem is, I don't know how to make it jump back to the start again. Any ideas?
If I understand the problem, one way is to do a fileIn.close() after the first reading (where fileIn is your ifstream object name) and then do a fileIn.open() again.