xj90
Civil/Environmental
- Feb 2, 2012
- 5
Hi all,
When you read data from a data file (txt file), how can you move the position pointer to the n row of the data (without reading each row again and again)?
For I am writing a program to put the n row of the data into an array, I am currently repeating
read (101,*)
n-1 times to get rid of the data I don't need, but that is inefficient, isn't it?
Thanks in advance.
When you read data from a data file (txt file), how can you move the position pointer to the n row of the data (without reading each row again and again)?
For I am writing a program to put the n row of the data into an array, I am currently repeating
read (101,*)
n-1 times to get rid of the data I don't need, but that is inefficient, isn't it?
Thanks in advance.