Binary IOStreams

yerl_at_twenty.net
Date: 08/31/04


Date: Tue, 31 Aug 2004 07:07:05 GMT

No doubt this is another noobish kinda inquiry but here goes.

Is it possible or even desired to use IOStreams (in my case, out of academic
interest, network sockets) in a binary fashion? Right now it seems as I pull
single elements out of the stream ('>>') I"m not getting white space.

TY



Relevant Pages

  • Re: "endl and " "
    ... > statement is that IOStreams have bad performance. ... you cannot point at an emergent property from the, uh, design. ... to make anything fast, for example, if there are no inherent limits such ... > concatenation of strings does not really require any form of stream. ...
    (comp.lang.cpp)
  • Re: IOStreams
    ... Silly the stream only takes a char_type buffer when the ... > This is a little less related to IOStreams themselves but since I've ... If you don't open in binary mode then you are opening in text mode. ... manipulation can look for and remove a trailing '\r'. ...
    (comp.lang.cpp)
  • Re: More help with << and >>
    ... That is indeed a great book, and has some good info on iostreams. ... I'd also recommend to anyone delving into iostreams to get this ... I've found both of these books at any bookstore with a reasonably ...
    (comp.lang.cpp)
  • Re: Binary IOStreams
    ... > No doubt this is another noobish kinda inquiry but here goes. ... > Is it possible or even desired to use IOStreams (in my case, ... Use the unformatted i/o functions, such as read and write, rather than the shift ... Jonathan ...
    (comp.lang.cpp)
  • Re: Winsock and IOStreams
    ... There are many things called stream and many ways to read from them. ... One small advice. ... iostreams to read from a socket then I would strongly recommend to avoid ... Read network data into a memory buffer and then if you wish attach ...
    (microsoft.public.win32.programmer.networks)