I have a Text file containing the english dictionary, it is 237,000 words long and in each line of the text file there is a word.
What I want to do is obtain a word from the textfile randomly. I don't think reading the text file to end and storing it in an array is an efficient solution. Is there a way I could do to skip reading all the file and just access a random line?
Oh, another thing how can I add the text file to the project so I can use a relative link to the file, since I have to use a complete path in my harddrive and I don't think that will work when I put the project in another computer.
Edited 5 Years Ago by MrCapuchino: n/a