0
Can we write #include<iostream>in computer??In our course we write #include<iostream.h>!!
3 Respostas
+ 2
iostream.h is pre-standard C++. It means that when you do a #include <iostream.h>, the preprocessor shall search for the iostream.h file and then includes it in your program
iostream is a standard header. It doesnt mean that it shall append a .h and then include iostream.h file. We used iostream.h before namespaces were introduced. So if you have a iostream.h file lying around, you can still include it. But it wont be in the std global namespace.
You caan find detailed differences between iostream and iostream. h here :-
http://members.gamedev.net/sicrane/articles/iostream.html
0
we need to write #include<iostream.h> on computer to avoid error
0
@Fenil
not really