how to input from the third row of a file
Dear friends:
I want to read value from the third row of a file in to a Vector<double>. how to do it.
the file has only one value in each row
If there is only one value in each row, you can do infile.ignore(4)
to extract and discard the first 2 numbers. Then read in the third number.
Topic archived. No new replies allowed.