title: std::vector<std::basic_string<char> >::const_iterator’ has no member named ‘c_str’
body: <p>i have problem with this. It says this:</p>
  
  <pre><code>‘std::vector&lt;std::basic_string&lt;char&gt; &gt;::const_iterator’ has no member named ‘c_str’
  </code></pre>
  
  <p>Could you help me, please ?</p>
  
  <pre><code>for ( ObjectMgr::WayContainer::const_iterator itr = Ways.begin(); itr != Ways.end(); ++itr )
  {
  
  char *cstr = new char[itr.length() + 1];
  strcpy(cstr, itr.c_str());
  
  if ( !stricmp(cstr, wayss) )
  {
  return;
  }
  
  delete [] cstr;
  }
  </code></pre>