S
StudiousStudent
Guest
I have two files
As you can see not all the words will be in both
I want to place the contents of these files into arrays where I will compare the words. I also want to output wether the word has been found, the index location in the array
for example: "owl", found, location 1
"dog", Not found
I'm not too sure on how to place the info into an array or compare the items eithe
StudiousStudent
Continue reading...
- "line.txt" which contains : abcfurfghthehgiowl
- "searchwords.txt" : owl tree dog cat the (6 in total)
As you can see not all the words will be in both
I want to place the contents of these files into arrays where I will compare the words. I also want to output wether the word has been found, the index location in the array
for example: "owl", found, location 1
"dog", Not found
I'm not too sure on how to place the info into an array or compare the items eithe
StudiousStudent
Continue reading...