your line number will be the position in the list, so you probably want to implement a function which will iterate through the list 'N' number of times to return a pointer to the element you want (or return a null pointer if the line at N doesn't exist)
Ancient Dragon commented: absolutely agree with that approach. +15