0
Plzz help me
In school I have been taught that we write #include<iostream.h> but in the app they say to write #include<iostream> (without '.h' ) which is the correct one
4 Respuestas
+ 1
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).
not only does the current standard not mention it, but no standard for C++ mentions it.
(c): https://stackoverflow.com/questions/2976477/difference-between-iostream-and-iostream-h
0
Both. if (error occurs) {compiler will warn you;}
0
ya exactly i too have learned it in the way..
but u know the books have been written on old concepts unless its new edition is released.. the GNU library don't support it anymore..
and after the C++ is standardized in 1998.. iostream.h is not used.. but the books still have it..