When utilising ifstream how to I check if the right integer was input?
(ie. the input has to be an int but there are letters instead) Then I would skip over that incorrect input, and continue reading the document.
I've seen a lot of questions when using cin, but not when reading from a file.