Ok ... I've done some research ... and I was wrong.  The skipws manipulator
only skips -leading- whitespace ... not whitespace altogether.  From all
I've read, you'd have to use the unformatted function read() in order to do
what you wanted.  (Or redefine the >> operator for the object you're reading
into, but you're just reading into a C++ string, so that would be bad.

*shrugs* I'm going to keep looking, though.

Lee

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mark B. Elrod
> Sent: Wednesday, September 29, 1999 12:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Aid me with string streams! <grin>
>
>
> hmm when i tried this it did not work either. my docs seem to
> indicate that it
> only works on input from a stream not output... let me know though!
>
> elrod
>
> Lee Dohm wrote:
>
> > Yes ... there is a way to turn off the delimiter ... I believe it is a
> > manipulator called skipws
> >
> > I'll double check tomorrow at work with my references, but that
> should do
> > it.  That just turns off the delimiting ... I don't know if you
> can change
> > the delimiter without changing the underlying facet.
> >
> > Lee Dohm
> >

Reply via email to