For a longer answer, you will have to consider which compiler you're using; some compilers are closed source, so you won't be able to look at the code. G++ is open source and you can find a lot of the information you're looking for in this article The GNU C++ Iostream Library (alternatively here). You can also download the source code via SVN or Git on the GCC website, which will include the implementation of the libio library (which implements iostream.h).
Hi,
This iostream is an Constructs a iostream object.This class inherits all members from its two parent classes istream(INPUT) and ostream(OUTPUT) , thus being able to perform both input and output operations.
Comment