[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] C++ programming: keeping count of data items read from file



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.




Reply to: