title: error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
body: <p>Here's my code, how do I fix this error?</p>
  
  <pre><code>#include "stdafx.h"
  #include &lt;iostream&gt;
  
  using namespace std;
  
  int main()
  {
      string title = "THE WORLD OF PIRATES";
      cout &lt;&lt; title &lt;&lt; endl;
      cout &lt;&lt; " Welcome to the world of pirates";
  
      cin.get();
  
      return 0;
  }
  </code></pre>
  
  <p>The error is </p>
  
  <pre><code>binary '&lt;&lt;' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
  </code></pre>