Hi there! I was wondering if anyone could help me out here. Here's the
situation: I have a separate external file that is a list of floats
called "list.txt". I was wondering what would be the best way to
extract that data and put it into a linked list (each float number per
What would be the best way to do this? Should I open the "list.txt"
file and count the amount of numbers there are and create an empty
linked list and then add each float into the linked list afterwards? Or
should I open the file, create the first node and enter the first number
on the list, and loop until no more numbers to create my linked list?
How would I do this?
// ??????? Any suggstions?
Any help or suggestions is very appreciated! Thanks!