Search an array of structs for a string variable : <p>consider:</p>

<pre><code>const int CAP = 20;
struct bookType
{
    string bookTitle = "EMPTY";
    string ISBN = "EMPTY";
    string author = "EMPTY";
    string publisher = "EMPTY";
    string dateAdded = "EMPTY";
    int qty = 0;
    double wholesale = 0.00;
    double retail = 0.00;

};bookType book[CAP];
</code></pre>

<p>What I need to do here is hopefully simple, though I can't seem to get a straight answer on it. I want to search this array of structs (book[]) for a matching bookTitle. for instance, if I have a book named "Star Wars" I need to be able to search the array of structs by typing in "star" and finding a book, "Star Wars". I've been searching for hours, but all the solutions I've found don't seem to actually work.</p>
