I am new to c++ programming. I am trying to read data in a file whose contents are as follows:
AS G02 2009 01 30 00 00 0.000000 2 1.593749310156e-04 4.717165038980e-11 AS G03 2009 01 30 00 00 0.000000 2 3.458468649886e-04 4.542246790350e-11 AS G04 2009 01 30 00 00 0.000000 2 -3.176765824224e-04 2.733827659950e-11 AS G05 2009 01 30 00 00 0.000000 2 -6.126657874204e-04 3.269050090460e-11 I would then write this data to an output file for processing later. The output should like this:
02 2009 01 30 00 00 0.000000 2 1.593749310156e-04 4.717165038980e-11 03 2009 01 30 00 00 0.000000 2 3.458468649886e-04 4.542246790350e-11 04 2009 01 30 00 00 0.000000 2 -3.176765824224e-04 2.733827659950e-11 05 2009 01 30 00 00 0.000000 2 -6.126657874204e-04 3.269050090460e-11 Can anyone help. Regards