Difference between iostream and iostream.h

ckv picture ckv · Jun 4, 2010 · Viewed 36.3k times · Source

What is the difference between iostream and iostream.h?

Answer

Brian R. Bondy picture Brian R. Bondy · Jun 4, 2010

iostream.h is deprecated by those compilers that provide it, iostream is part of the C++ standard.

To clarify explicitly there is no mention of iostream.h at all in the current C++ standard (INCITS ISO IEC 14882 2003).

Edit: As @Jerry mentioned, not only does the current standard not mention it, but no standard for C++ mentions it.