STL map construction
<pre><code>class Garage {
    string WorkerFirstName;
    string WorkerLastName;
    string WorkerNumber;
public:
    Garage()
    {
        WorkerFirstName = "";
        WorkerLastName = "";
        WorkerNumber = "";
    }

    void SetFirstName(string FirstName) { WorkerFirstName = FirstName;}    
    void SetLastName(string LastName) { WorkerLastName = LastName; }
    void SetNumber(string Number) { WorkerNumber = Number; }

    string GetFirstName() { return WorkerFirstName; }
    string GetLastName() { return WorkerLastName; }
    string GetNumber() { return WorkerNumber; }         
};

class GarageList {
    Garage List[500];                
    int MaxSize;
    int Size;
public:
    GarageList() 
    {
        MaxSize = 500;
    }

    ... //list out functions
};
</code></pre>

<p>That is an abridged version of my setup.  I can't figure out how to make a map with a reference id based on last name and a value which would contain all of the attributes of the garage class.  I guess something like map&lt; string, Garage List[500] > directory.</p>
