Hi, I am new here, and I have a question. How is it that I would make a program that searches a .txt file and displays the text found, like you enter a certain word and it searches for that word in the text file?
I would recommend reading about 'Input/Output with files'. And then if you have any problems after trying yourself, bring them here. If you don't try first, you won't learn. And you probably won't get anyone to help you if you haven't tried first. I'm not trying to sound mean! I'm just giving it to you straight! :D
I read that and I read a couple of other things about ifstream, but if it was there I still haven't found it, how do you search a text document? It may have showed it but I must not have understood it if it did.