title: How to repair "invalid operands of types 'const char' to binary 'operator+'?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/662918/how-do-i-concatenate-multiple-c-strings-on-one-line">How do I concatenate multiple C++ strings on one line?</a>  </p>
  </blockquote>
  
  
  
  <p>According to <a href="https://stackoverflow.com/a/5354179/398460">this</a> a C++ std::string is concatenated by using operator+.
  Why then does this code</p>
  
  <pre><code>using namespace std;
  string sql = "create table m_table(" + 
      "path TEXT," +
      "quality REAL," +
      "found INTEGER);"; 
  </code></pre>
  
  <p>cause this error?</p>
  
  <blockquote>
    <p>invalid operands of types 'const char [22]' and 'const char [17]' to
    binary 'operator+'</p>
  </blockquote>