Also, about the namespace, That has nothing to do with the header, iostream. It is a directing to use functions from the Std namespace, like cout, endl, cin, etc. Beware that this can cause conflicts with other namespaces that have things named the same as things from other namespaces... the safer way is to do something like std::cout << std::endl; calling things directly.
Also note that you will never see a namespace in C, since it is not OO.