Reading input from a file
<p>list.txt</p>

<pre><code>first 10
second third 20
fourth fifth 30
.
.
.
</code></pre>

<p>What's the conventional way to read the first line separately from the others, such that I can use "first","second", ... and 10, 20, ... as their respective types elsewhere in the program?</p>

<p>Thanks!</p>
