views:

230

answers:

5

I hardly find a good resource about the subject. Almost all books and websites I know give a simple introduction about streams in C++ and that's it!

Would you recommend a good book or tutorial to learn more about standard streams in C++ ?

+1  A: 

It's been long since I've read it, but I remember that Stroustrups The C++ Programming Language is at least thorough in using streams - including overloading etc. It doesn't handle much of stream implementation, though.

peterchen
+8  A: 

The best book on the subject is C++ IOStreams & Locales by langer & Kreft. This covers stuff on deriving your own streambufs etc. that most books don't touch. I could live without the locales stuff, however.

anon
Thanks Neil. It seems really a good book.
AraK
@Neil: FYI, the url link is broken, you might want to fix that.
nagul
Thanks, I took care of the link.
AraK
Sorry about that - I copy and pasted it from one of my bookmarks, which is working, so I don't know what happened.
anon
+1  A: 

I highly recommend this link

Maciek
I like it, but this more of a reference.
AraK
+1  A: 

I've used The C++ Programming Language by Bjarne Stroustrup. However, it delves into the design decisions and implementation details of streams, which can be a whole lot more than what you want.

In that case, you could try The C++ Standard Library: A Tutorial and Reference which gives a decent overview without going into much depth.

nagul
+1  A: 

If you come across The C++ Standard Library by Josuttis (published by Addison-Wesley) it also contains a decent chapter on streams.

LaszloG