I'm using gcc version 4.4.5 on a Ubuntu 10.10 (Maverick-Meerkat) System. Now i'm searching for the source codes of the gcc. I found a file printf.c in /usr/share/gettext/intl/printf.c. But i'm looking for the codes which are used for the cout stream, ostream and ofstream to learn how these streams are coded and understand using using streams. I'd loaded the gcc from gnu.org, but i'm not able to find the sources i'm looking for. Is anyone here who may tell me what i must do to get/find the original codes?
If you download Code::Blocks from the software center it will come with "iostream" which is the header file you are looking for. You don't have to use Code::Blocks if you don't want to, it's simply a lazy way that I know of to get the source code you are looking for.