title: Storing a string into a vector
body: <p>The error says that no matching function to call for <code>push_back()</code>. </p>
  
  <p>I included <code>&lt;vector&gt;</code> so I don't understand why this error is occurring. If you could also show me how to take in a string and store it into a vector that would be really helpful!</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  #include &lt;vector&gt;
  using namespace std;
  
  int main()
  {
      vector&lt;string&gt; list;
      char input;
      while(cin&gt;&gt;input)
      {
          list.push_back(input);
      }
      for(int i=0;list.size();i--)
      {
          cout&lt;&lt;list[99-i];
      }
  
  }
  </code></pre>