Hi all, well my problem isn't a practical problem. I have a project to do which is a word game.First of all i have a .txt (a dictionary) my program has to fetch a random word and shuffle it. With the combination of those letters the program has to find words and(sub-words/sub-strings) in the dictionary. The user tries the different combinations until there is a corresponding word in the dictionary.My problem is memory wise the program has to constantly search the .txt file. So i have been wondering how i can optimize that using Object-oriented programming..Would "stacking" my dictionary be a good idea? Or maybe linked lists? I really don't know what would be the most efficient way...
Thank you for your time.