Storing values from a vector to a string as comma seperated values
<p>how can I store the values returned from a function to a string as comma seperated values. Can anyone help me..?</p>

<pre><code>const myVector &amp;vecList = obj.get_List();
vector&lt;myNumVector *&gt;::const_iterator iter;
for (iter= vecList.begin(); iter!= vecList.end(); iter++)
{
  string myNum = (*iter)-&gt;get_myNum();
  string myNumList = ? 
  //myNumList should be = drt123,ret34,dfghgd234.... if these are the return values
} //can we achive this by use of some sting functions..?
</code></pre>
