Output looks like:
Smith, Eleanore has 110/12297192 (The number past the "/" changes.)
Supposed to looks like:
Smith, Eleanore has 110/73
I'm not certain, but I believe I need to get the read marker(or whatever you call it) moved over one space, and I'm not sure how to do that. Any help or hints appreciated.
I see no extraction operation to remove the '/' within the file. So when it comes to reading the last part of the file, 110 is extracted, followed by '/', and then 73. Chances are, the '/' is being read as an integer.
Don't forget that std::istream::operator >>() is a formatted operator.