[C++] append to each row of a text files
Is it possible to append some data on a text output file appending the data to each row, and without use too much computational I/O ??
Instead of the classical way: Code:
VARX VARY VARZ... Code:
year1 year2 .. is it possible ?? |
To achieve that you will need to read in the entire file append the data to each line before writing it back out again, so no simple solution, compared with appending the new year to the end of the file.
|
Is this a one-time task? Do you just have one file to transpose or are you needing to create a program which will maintain this matrix?
ta0kira |
All times are GMT -5. The time now is 07:47 AM. |