|
dpb <none@non.net> wrote in message <he4b7d$53c$2@news.eternal-september.org>...
> Sahray Gambaro wrote:
> > I have inputs files that contains numbers and words. I want to
> > archive in a vector or a struct each of the numbers that I have in
> > that file.
> > The problem is the load function does not work for that and when I try
> > to use fopen and the other functions to read the file I can not
> > manipulate the data in the file.
> >
> > Example of the input file:
> > 1234 ABC 5678 9012
> > 1234 5678 9012 3456 7890
> > /* Input File options...... */
> > /* ****************** */
> > 1234 5678 9012 3456 7890
> > ....
> > ...
> > etc.
> >
> > Any suggestions?
>
> Are the values in the lines preceding the comment lines significant?
>
> Are the locations of text and numeric values consistent within each line
> and are lines containing text and numeric values the same?
>
> --
all the numeric values are significant and the location of the tex and the quantity of how many numeric values you will find in the text file are not consistent.
Each value represent something different and important, so I cant ignore it and each bunch of values could have different amounts.
Is this make more clear my problem?
Thanks,
|