0
what is the difference b/w <iostream>and <iostream.h> and is it necessary to use clrscr();in every program?
3 Answers
0
clrscr() statement is used to clear the screen before showing your current output.
Its not a compulsury statement . You can make your programs without it too. But in this case the previously displayed output will not be erased .
I HOPE ITS USEFUL .
0
There is no difference between <iostream> and <iostream.h> . Its just that in the previous versions of c++ it was compulsory to put .h extension . But in the latest versions it is not compulsory to put it when you include any header file.
0
It is not possible to put iostream.h as the iostream.h header doesn't exist anymore in C++03 and onwards. Therefore, everyone using a C++ compiler that still accepts iostream.h should really consider moving to a newer one as a 13 year old standard (jop, the 03 in C++03 denominates C++ standard from 2003) in the realm of programming is usually quite outdated, if not obsolete...