I was wondering if anyone knows a good tutorial or paper on creating new
C++ iostream. I had 2 possible uses for it:
The interface for a queue. << - Insert end, >> - get front.
Wrapper for C I/O (especially compression) API. e.g.
ofstream_bz2 some_file("data.bin"); //.bz2 is added automatically
some_file << "some data"; //Data is automatically compressed in the bz2
format.
All the tutorial I found on google involve a very long complicated
sequence of steps and all seemed to involve the underlying stream buffer.
Thanks in Advance
David McKen
|