I have a question:
Say I have a text file with a bunch of words on it, say the following:
Now, if I make a program that requires the user to input a word, how would I go about searching the text file and seeing if that word is there?
I haven't any code for this yet. I know how to open/close text files, as well as read from them and output their contents, but to search them...I dunno.
Help appreciated and thanks in advance.