+ 1

What is the different ?!?!

can any one tell me what the different between <iostream> and <iostream.h> in c++ language.. thank you bros😘😘

25th Dec 2016, 1:46 PM
osama
osama - avatar
6 odpowiedzi
+ 3
One is C++ library, the other C library ( C++ is more or less retro-compatible with C )... I believe :P
25th Dec 2016, 1:51 PM
visph
visph - avatar
+ 2
It is like what @visph stated, although iostream.h is can be used for C++,it is slightly more limited and may create bugs
25th Dec 2016, 1:54 PM
Wen Qin
Wen Qin - avatar
+ 2
No, iostream isn't "better", is just more appropriate for C++ ( design for him and just him ), when iostream.h is designed for C, but could be used in C++ ( with some risks, by retro-compatibility )
25th Dec 2016, 2:07 PM
visph
visph - avatar
0
so .. iostream is better than iostream.h and have less bugs .. right??
25th Dec 2016, 1:57 PM
osama
osama - avatar
0
ooooh .. ok i got it .. thank you 😘
25th Dec 2016, 2:09 PM
osama
osama - avatar
0
yup
25th Dec 2016, 8:23 PM
Aaryan Suthar
Aaryan Suthar - avatar