C programming or how to solve this problem?

Suppose you have a paragraph in a text file. You want to see how many times a specific word occurs in that paragraph. The operations of this program are as follows:

  • Create a text file with one paragraph of at least 100 words.(You can copy paragraph from any website).
  • Get a word from user.
  • Read text file word by word and compare word entered by user with each word of text file. **[6 marks]
    • If both words are similar, then increment count. After all the words are matched print how many times that word occurred in file. You must use above programmed class and overloaded operators to perform this task.