Is it compulsory to write .h with iostream inc++ | Sololearn: Learn to code for FREE!

0

Is it compulsory to write .h with iostream inc++

c++

1/4/2017 5:16:50 PM

Dhruv Bhatnagar

8 Answers

New Answer

+3

apologies as it seems that in modern implementations iostream is used without the .h. but some header files are still used with the .h.

+1

yes, without. h it won't work. .h is to denote it as the header file

+1

but in this app in no program .h is used

+1

0

pl ans my other question also.

0

this is caused by standardization of c++. As both types should work, but due to changes recent compiler versions might not support the .h types

0

here in this app I think a newer compiler version is used which uses the iostream as the choice instead of iostream.h

0

no its upto the compiler u use,in turbo c++ it doesn't wotk without .h