Cerca Thinking in C++ vol.2 sul sito di Bruce Eckel; contiene un capitolo interamente dedicato agli stream.