Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   (C++)advice needed on reading and writting vectors (http://www.go4expert.com/forums/cpp-advice-reading-writting-vectors-t20725/)

lnname 21Jan2010 17:00

(C++)advice needed on reading and writting vectors
 
I am currently writting programs that deall with time series annalysis (like the Tisean package for c).

I have got to a stage where i have converted the time series into a big list of vectors which need to be output and processessed.

I am not sure how i should output them;
either prescenting each vector as a row and the next vector on the next line

like
"1 2 3
2 3 4
4 5 6"

or putting each vector as a column and putting in a gap or symbol in between
"1
2
3

2
3
4

4
5
6"

My main concern is how is how i should read them. Frankly i have only dealt with programs that dealt with lists of numbers before, so have little idea how eiither would work.


All times are GMT +5.5. The time now is 09:15.