Re: C++ programming: keeping count of data items read from file [OT] [OOT] (off-off-topic)

2008-05-08 Thread s. keeling
Mark Allums <[EMAIL PROTECTED]>: > Mark Allums wrote: > > Rich Healey wrote: > > > Mark Allums wrote: > > >> 1. You might want to learn PERL or Python or Ruby, and do it there. > > > FWIW, this is very easy to do in Python. > > > PSFWIW: Satan uses Ruby. > > > > I thought that Beelzebub

Re: C++ programming: keeping count of data items read from file [OT] [OOT] (off-off-topic)

2008-05-06 Thread Mark Allums
Mark Allums wrote: > Rich Healey wrote: > > Mark Allums wrote: > >> 1. You might want to learn PERL or Python or Ruby, and do it there. > > FWIW, this is very easy to do in Python. > > PSFWIW: Satan uses Ruby. > > :) > > I thought that Beelzebub used IronPython. > I mean, given the connection

Re: C++ programming: keeping count of data items read from file [OT] [OOT] (off-off-topic)

2008-05-06 Thread Mark Allums
Rich Healey wrote: > Mark Allums wrote: >> 1. You might want to learn PERL or Python or Ruby, and do it there. > FWIW, this is very easy to do in Python. > PSFWIW: Satan uses Ruby. :) I thought that Beelzebub used IronPython. -- Mark Allums -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with

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

2008-05-06 Thread Rich Healey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Allums wrote: > H.S. wrote: >> Hello, >> >> In a C++ program I am reading a data file for later processing and >> computations. While reading that data file, I want to keep track of >> data items (doubles) read. >> >> The data file is just a text

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

2008-05-06 Thread H.S.
Mark Allums wrote: Not directly helpful, but some suggestions: 1. You might want to learn PERL or Python or Ruby, and do it there. hmm .. not sure how this will pan out in the long run, but for now, I am trying to keep it all within one program. 2. If it has to be C++, learn enough PERL t

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

2008-05-06 Thread Hal Vaughan
On Tuesday 06 May 2008, H.S. wrote: > Ron Johnson wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 05/06/08 11:42, H.S. wrote: > >> Hello, > >> > >> In a C++ program I am reading a data file for later processing and > >> computations. While reading that data file, I want to k

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

2008-05-06 Thread Mark Allums
H.S. wrote: Hello, In a C++ program I am reading a data file for later processing and computations. While reading that data file, I want to keep track of data items (doubles) read. The data file is just a text file with N lines with C doubles in each line (N and C are known a priori). For n

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

2008-05-06 Thread Jordi GutiƩrrez Hermoso
On 06/05/2008, H.S. <[EMAIL PROTECTED]> wrote: > In a C++ program I am reading a data file for later processing and > computations. While reading that data file, I want to keep track of data > items (doubles) read. Use std::list and other standard data structures. It's C++. Don't use C arrays, ug

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

2008-05-06 Thread Robert Baron
On Tue, May 6, 2008 at 12:57 PM, Ron Johnson <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/06/08 11:42, H.S. wrote: > > Hello, > > > > In a C++ program I am reading a data file for later processing and > > computations. While reading that data file, I want

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

2008-05-06 Thread H.S.
Ron Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/06/08 11:42, H.S. wrote: Hello, In a C++ program I am reading a data file for later processing and computations. While reading that data file, I want to keep track of data items (doubles) read. The data file is just a text

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

2008-05-06 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/06/08 11:42, H.S. wrote: > Hello, > > In a C++ program I am reading a data file for later processing and > computations. While reading that data file, I want to keep track of data > items (doubles) read. > > The data file is just a text file wi