say for a each line in the text file there are several words. I want to read each word, which is separated by space. how do i do that? how do i get each word in the line? each line is treated like a linked list and i want to store it in an array. but how?
for example the text is
jeffrey jake john
charlie emilio martin
drew lucy cameron
i want jeffrey jake and john to be a linked list. charlie emilio martin, another. drew lucy and cameron... so on. each line is a linked list
then i would store these linked list to an array.
but before i can do that. i must know how to read each word in a line.