+ 2

can I use #include <iostream> in place of <iostream.h> in claas 12 board exam ? In my textbook i have read about using <iostream.h> . what is the actual difference btween these two?

14th Aug 2016, 5:53 AM
nitin bora
nitin bora - avatar
2 odpowiedzi
+ 1
If You Use #include<iostream> You Should Write The Next Statement As : using namespace std; It's Fine If You Use #include<iostream.h> ... Both Mean The Same ....
14th Aug 2016, 8:03 AM
Shashank Pai
Shashank Pai - avatar
0
some compilers accept the extension .h in code blocks ide etc .h extension is not useful but in the case of turbo old compilers will accept the .h because it old compilers but beginners to the this language should use turboc2 for better practice.
14th Aug 2016, 10:54 AM
Srikanth Dhulipala
Srikanth Dhulipala - avatar