Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>input and output streams using strstreambuf</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Input and Output Streams Using strstreambuf

   Classes istrstream, ostrstream and strstream provide input, output, and
   bidirectional stream facilities to memory, using a strstreambuf. Objects
   of these types share the public interface of classes ios, istream or
   ostream or iostream, and their own public interface is as follows:

   class istrstream : public istream {
   public:
       istrstream(char *string);
       istrstream(char *memory, int length);
       strstreambuf *rdbuf() const;
   };

   class ostrstream : public ostream {
   public:
       ostrstream();
       ostrstream(char *memory, int length, int mode = ios::out);
       char *str();
       int pcount() const;
       strstreambuf *rdbuf() const;
   };

   class strstream : public iostream {
   public:
       strtream();
       strstream(char *memory, int length, int mode);
       char *str();
       strstreambuf *rdbuf() const;
   };




Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson