plz help me , need a code that search a word for file saved in note pad in show the out put as is this wrd exsist in file or not n if yes how many time appear....
Please post the code you have done so far. No one here will write the program for you.
Hint: you need to know how to read text files.
i know how to read a file using c++.....
just after this i hve 9 idea how to store , read the space after each word n show output ,,,,,,
help me plz
just after this i hve 9 idea how to store , read the space after each word n show output ,,,,
Please write in English -- I have no clue what you just said.
Do you need to do this using C++? This kind of thing is easily done with standard command line tools. For example, on many *nix systems,
grep -c word_to_find name_of_file
does this quickly and efficiently.