Re: Problems with formatted input.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"BigMan" <fn42551@xxxxxxxxxxxxxxxx> wrote in message
news:%23eOrrCFcFHA.2984@xxxxxxxxxxxxxxxxxxxx
> This code successfully reads -1 into an unsigned int. Other
> implementations of STL fail to read -1 into an unsigned int, which
> seems to be the correct behavior. Is this a bug in the MS STL
> implementation? If not, please explain why.

Didn't you ask the exact same question several hours ago in
microsoft.public.vc.stl, and received an answer? Was the answer
unsatisfactory in some way?
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Probably a bug in the formatted input.
    ... This code successfully reads -1 into an unsigned int. ... Other implementations ... of STL fail to read -1 into an unsigned int, which seems to be the correct ... Prev by Date: ...
    (microsoft.public.vc.stl)
  • Problems with formatted input.
    ... This code successfully reads -1 into an unsigned int. ... Other implementations ... of STL fail to read -1 into an unsigned int, which seems to be the correct ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: Probably a bug in the formatted input.
    ... >> This code successfully reads -1 into an unsigned int. ... >> implementations of STL fail to read -1 into an unsigned int, ... >> to be the correct behavior. ...
    (microsoft.public.vc.stl)
  • Re: C standard question?
    ... uc1 gets promoted to a signed int ... On many implementations, perhaps including all those you have ever ... uc1 gets promoted to signed int. ... Of course, on implementations where uc1 is promoted to unsigned int, ...
    (comp.lang.c)
  • Re: Variable declaration followed by colon?
    ...   unsigned int version:4; ... What correction and what about unsigned char? ... protocol version and header length - on many implementations bit ...
    (comp.lang.c)