I need a code snipped to do the following:
Search files: When specifying string to be searched,the program should returns a list of all the files which had
matches within them, as well as the number of matches e.g.
Files containing search string: HELLO
I don't know any method/function that can go word for word in a file, in c++. Something like a java string tokenizer maybe!