Share
Explore BrainMass

C++ Program

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.

Attachments

Solution Preview

(Text below can also be found in the attached .txt file)
<br>
<br>A. Explaination of Problem:
<br>-------------------------------
<br>Before we start with the program and the explaination of solution, first of all we try to find what the problem says. The problem asks to make a program to identify the occurence for the Query text from the given text. Lets take an example:
<br>
<br>The source text is to compare:
<br>
<br>Source Text:I want to put my query to find the solution
<br>
<br>1. The Query text:to
<br>
<br> Expected Result:
<br>
<br> Text found and its occurence is 2.
<br>
<br>2. The query text:brain
<br>
<br> Expected Result:
<br>
<br> Text not found
<br>
<br>B. Approach to solve the problem:
<br>-------------------------------------
<br>First of all, we define two arrays which can store the Source ...

Solution Summary

C++ Program assistance is given.

$2.19