iostream and iostream.h

Whats the difference between
#include<iostream>
and
#include<iostream.h>
I have observed that when using #include<iostream.h> , using namespace std; is not required. What is namespace???
Thanks in advance.....
Last edited on
<iostream> is the standard header

<iostream.h> is the old standard header, not longer supported by some compilers

Namespaces are used to avoid multiple symbol definitions when using several libraries http://www.cplusplus.com/doc/tutorial/namespaces/
Thanks Bazzy. I am asking this question because you caught my error somewhere, some hours ago. I am weak in C++. Thanks again.
Topic archived. No new replies allowed.