C++ Program help

I need someone to help me with this C++ program. I need it urgently to study for a text and compare it with mine. I'll really appreciate your answer. Thank you in advance.

© SolutionLibrary Inc. solutionlibary.com 9836dcf9d7 https://solutionlibrary.com/computer-science/software-development/c-program-help-1ri

Solution Preview

...he Query text. Then we will try to store the strings/text into the arrays and then try to compare them.
<br>
<br>C. Solution:
<br>---------------
<br>We take the first element of source array and check whether it matches with the queries text's first element (if it does not match, we move to the next element of source text), else if it matches then we will repeat the process until all the elements of query text get matched. If all the elements of query text matches with the source text, then we increment the counter and replicate the process unless the source string reached to last.
<br>
<br>D. Program:
<br>==============
<br>
<br>
<br>---------------------filename:string.cpp-----------------------------------
<br>
<br>
<br>/* This program is to find the text From the given text*/
<br>
<br>#include <iostream.h>
<br>const Max =30;//limit of query ...