I don't like flooding on forum so I'll ask a series of questions in one thread. 1. How safe is using exit(0); what are the advantages and disadvantages. 2. I have a file buffered in a stringstream. I access that stringstream more than once.. How can I reset the position from where it's being read using the >> operator? 3. About vectors, are they really safe when defining no size?