Compile error : `string' does not name a type
<p>I have 2 compile errors that I have been trying to fix and not getting anywhere. 
Here are the 2 errors
'string' does not name a type on line 80
`s' undeclared (first use this function)  on line 87</p>

<p>Could someone please point me in the right direction</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;

using namespace std;


//class type declared
  class Meeting
  {
    private:
     string speaker;
     string topic;
     string venue;
     string date;
   public:
    Meeting();
    void setSpeaker(string s);
    void setTopic(string t);
    void setVenue(string v);
    void setDate(string d);
    string getSpeaker();
    string getTopic();
    string getVenue();
    string getDate();

 };

   //member functions for class Meeting
   Meeting::Meeting()
   {
    string speaker = " ";
    string topic = " ";


string venue = " ";
  string date = " ";
}

//mutators to set member variables to vale given
void Meeting::setSpeaker(string s)
{
     speaker = s;
}
void Meeting::setTopic(string t)
{
     topic = t;
}
void Meeting::setVenue(string v)
{
     venue = v;
}
void Meeting::setDate(string d)
{
     date = d;
}


//Accessors to retrieve data from each of the member variables
string Meeting::getSpeaker()
{
    return speaker;
}
string Meeting::getTopic()
{
    return topic;
}
string Meeting::getVenue()
{
    return venue;
}
string Meeting::getDate()
{
    return date;
}


//main using the class
int main()
{
         Meeting mMeeting; //instance of Meeting Class
   Meeting
         string s;     // error `string' does not name a type 
         string t;
         string v;
         string d;

    // Enter Meeting Information
    cout &lt;&lt; "Enter Speaker name and surname: ";
         getline(cin, s);     // error `s' undeclared (first use this function) 
         mMeeting.setSpeaker(s);
    cout &lt;&lt; "Enter Topic: ";
         cin &gt;&gt; t;
         mMeeting.setTopic(t);
    cout &lt;&lt; "Enter Venue: ";
         cin &gt;&gt; v;
         mMeeting.setVenue(v);
    cout &lt;&lt; "Enter Date: ";
         cin &gt;&gt; d;
         mMeeting.setDate(d);


    //Display Meeting details
    cout &lt;&lt; "\nSpeaker at meeting: " &lt;&lt; mMeeting.getSpeaker() &lt;&lt; endl;
    cout &lt;&lt; "Topic at meeting: " &lt;&lt; mMeeting.getTopic() &lt;&lt; endl;
    cout &lt;&lt; "Venue of meeting: " &lt;&lt; mMeeting.getVenue() &lt;&lt; endl;
    cout &lt;&lt; "Date of meeting: " &lt;&lt; mMeeting.getDate() &lt;&lt; endl;

 system ("pause");
 return 0;
}
</code></pre>
