I want to be able to jump to a particular line in a CSV file. I have read that in order to do so, each line must have the same size.
Therefore, in writing the data to the file I want to set the number of characters to a specified/set number.
I have tried:
However, my issue is with negative values. Will negative values take up space?Code:file.setf(ios_base::fixed, ios_base::floatfield); file.precision(10);