Hi, I am trying to learn about the IO streams and have a question regarding that and std namespace. From this page It appears that all the streams inherit from ios_base, eg iostream, fstream etc. So I am wondering about the functions in these stream classes, for instance cout, (not sure if classified as a function) is it declared in the stream class or in std namespace, since i need to include iostream to use cout and include std namespace.