Robert Baron wrote:
What is so terrible about counting the items as they come in?
As I mentioned earlier, the issue is how do I count items read in one line, or before the next EOL? Counting total items is not a problem.
Perhaps a different way to say this is, how do I detect if I have reached an EOL while reading doubles from a file stream.