Class, String Processing, File Handling, Exception Handling, Searching, Sorting
The two text files named File1 and File2 each hold a number of English sentences. A C++ program
is required to carry out the following operations:
a) Given a word, it lists how many times that word appears in File1 and File2.
b) List all the words that occur in both the File1 and File2.
c) List all the words that occur in File1 but not in File2.
d) List all the words from both the files that alphabetically come after the word "nice".
e) To print a list where the words appear in alphabetical order.
It is assumed that all the words are in lower case characters, spaces separate the words and each
sentence is terminated by a full stop.
can ytou help me with a sample code of the program