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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/06/08 12:50, H.S. wrote:
> 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.

Is this a binary file or a text file?

- --
Ron Johnson, Jr.
Jefferson LA  USA

We want... a Shrubbery!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIIJ4uS9HxQb37XmcRAjSqAKCLE6X+D5GA0GbuHl04JuhDVMQ1SACfcYzk
3/cqC9ntXmxUBk8Y2SuLCQ8=
=uwVN
-----END PGP SIGNATURE-----


Reply to: