title: convert string to char*
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/347949/convert-stdstring-to-const-char-or-char">Convert std::string to const char* or char*</a>  </p>
  </blockquote>
  
  
  
  <p>Probably a &amp; or something similar missing (I am noob at cpp).</p>
  
  <p>I have </p>
  
  <pre><code>string R = "somthing";
  char*  S;
  </code></pre>
  
  <p>How would I copy <code>R</code> into <code>S</code></p>