Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i input the contents of 8000 textfiles into a linked list?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a folder that contains 8000 subfolders. Each of these subfolders contains 2 textfiles. What I want to do is this - for each of the 8000 subfolders (each contains the title and body of a news article), i want to read in the text files and place their contents into a linked list. So the end result will be a linked list of 8000 "news article" objects, each containing the text from 1 of the 8000 subfolders. Is there a not-overly complicated way of doing this?

thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top