+ 2
I think instead of #include<iostream> ,it should be #include<iostream.h> ??
4 Answers
+ 3
<iostream.h> is an old standard header file
that is obsolete in today's C++ compilers.
<iostream> is now the new standard for today's C++ compilers. Just like <cstring>
is used instead of <string.h> and
<cstdio> replaces <stdio.h> and <cctype>
replaces <ctype.h>.
Unless you are using a older compiler ,
it is best to always choose <iostream> over the older standard <iostream.h>. You can't
go wrong with that logic.
+ 6
The C++ standard obsoleted <iostream.h> infavor of <iostream>. There is no guarantee the former is available and it certainly will not have been updated.
+ 3
thankyou very much for your help đ
0
iostream.h is c language writing styleïŒin c++ we usually lost .hïŒevery head file is.