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

22nd Jun 2017, 3:05 PM
Ujjwal_Saxena
Ujjwal_Saxena - avatar
4 Respuestas
22nd Jun 2017, 4:30 PM
Hatsy Rei
Hatsy Rei - avatar
+ 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
22nd Jun 2017, 3:17 PM
Ken San Diego
Ken San Diego - avatar
0
Both. if (error occurs) {compiler will warn you;}
22nd Jun 2017, 3:14 PM
Nguyễn Khải
Nguyễn Khải - avatar
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..
22nd Jun 2017, 3:15 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar