list.txt
first 10
second third 20
fourth fifth 30
.
.
.
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?
Thanks!
Is this what you’re thinking of?