writing into file is not complete
I have problem with reading and writing the files
I need to do calculation to obtain data and then writing this data into file, the data is large.
the data is saved in vector so I need to write each element of vector in line in the file.
the each elemtn of vector contains 97 numbers.
my problem is that it writes the first elemnt of vector and it writes second element but I don't know why in the third line the third element of vector is not complete it writes only 50 numbers
for the fourth it writes the complete element but for the fifth it writes also some of numbers in that element and so
I have tested my program for small data and it works fine but I don't know what is the problem