title: C++ strings vs vector<char>
body: <p>It's known to everyone of us that we should prefer <code>string</code> class in <code>C++</code> for all string applications due to the many special functions they perform &amp; their ability to grow &amp; reduce dynamically. What <code>string</code> is for <code>characters</code>, <code>vector</code> is for other data types &amp; classes because it shows great performance.</p>
  
  <p>However is there any situation where we would need to prefer <code>vector&lt;char&gt;</code> (which I see seldom) over <code>string</code> ? </p>