cin.eof() isn't working either. I've been trying to implement a block of code that would accept input until it reaches this point then use cin.clear to reset any flags that might be set on and continue but the execution stops when I attempt to look in with cin.peek(). Any help would be appreciated.
Aucun commentaire:
Enregistrer un commentaire