What is the difference b/w iostream & iostream.h | Sololearn: Learn to code for FREE!

+4

What is the difference b/w iostream & iostream.h

are both header files???

12/8/2016 6:01:01 PM

krishna kant prajapat

1 Answer

New Answer

+5

Use <iostream> because it is guaranteed by the standard to exist. It's worth noting that the only standard headers that end with .h are the C standard library headers. All C++ standard library headers do not end with .h . It just depends on the name of the file provided by your toolchain. Gud Luk! -bErN