C++ line jumping and file reading
<p>I have a file with numbers in it. I would like to read certain lines (ones that haven't been read already but are no long easily accessible due to the way my code runs)</p>

<p>for example..</p>

<p>I have code like</p>

<pre><code>for (c=0; c &lt; 5;c++)
{
in &gt;&gt; tmp;
}
</code></pre>

<p>when implemented this reads 5 parts of the first line (lines are all the same length).</p>

<p>I want to be able to call this same section of code again and be able to read the second..third.ect</p>

<p>what do I need to do to make this work</p>
