epix-users
[Top][All Lists]
Advanced

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

Re: [ePiX-users] File ploting


From: Cristóvão Sousa
Subject: Re: [ePiX-users] File ploting
Date: Thu, 25 Sep 2008 18:53:47 +0100
User-agent: KMail/1.10.1 (Linux/2.6.24-21-generic; KDE/4.1.1; x86_64; ; )

> When you create a data_file to read in data, you must specify either the
> number of columns *or* the disk file's name in the constructor. :)
>
> That is, instead of:
> >   data_file din;
> >   din.delimiter(" ");
> >   din.read("df1.data");
>
> do either:
>
> data_file din(3);
> din.delimiter(" ");
> din.read("df1.data");
>
> *or*
>
> data_file din("df1.data");

Yes, it works. the second one is the one I need because the columns number are 
not known. The only drawback is that I have to use tabs as separator, and 
cannot define my own comments character.  Anyway that is not a big deal if I 
use a preparation script.

Thanks you Andrew :)
Cristóvão Sousa






reply via email to

[Prev in Thread] Current Thread [Next in Thread]