Char * of std::vector<char>
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3521054/is-it-possible-to-get-the-pointer-the-continous-memory-fragment-in-a-stdvector">Is it possible to get the pointer the continous memory fragment in a std::vector&lt;char&gt; in C++?</a>  </p>
</blockquote>



<p>How do I get <code>char*</code> from <code>std::vector&lt;char&gt;</code>, just like the function <code>std::string.c_str()</code>?</p>
