> --- In [email protected], "nimak247" <nimak247@> wrote:
> >
> > Hello,
> > 
> > My program crashes at the point shown below. This message was a bit
> > different, though. It said the failure was at xstring, line 137?

What do you mean by xstring? Your own string handling library/class?
 
> > I don't know what caused it. How does one debug one of these types of
> > messages??
> > 
> > vector<string> ret;
> > iter pos = str.begin(), e = pos;

What is iter? And what is present in str?

> > 
> > for(int x = 0; e != str.end() && x != 10; x++){             
> >             ++e;
> >     }
> > 
> > ret.push_back(string(pos, e)); /*--program fails here--*/
> > 
> > any help would be greatly appreciated!
> >
> Anyone know anything about this?? Or have perhaps not given enough
> info :O) ?
>

Regards,
Saurabh

Reply via email to