C++ Programming Assignment
Do not just copy and paste another answerhere!!
Co-occurrence problem?
You will write a program to solve the co-occurrence problem. Theco-occurrence problem is stat-ed as follows. We have a filecontaining English sentences, one sentence per line. Given a listof query words, your program should output the line number of linesthat have all those words. Show your pointer prowess in completingthis assignment.
Assume the text in file contains only lowercase letters , doesnot have these punctuation charac-ters ( ; “ ‘ – ) and no digits.Ignore all other punctuation characters while processing thefile.
Here is one example. Assume that the following is the
OR
OR