Basic question on c++ header file inclusion ?
- by siva
What are the differences between below 3 programs ?. Is <iostream> a header file or C++ standard library ?
1
#include<iostream>
using namespace std;
int main()
{
return 0;
}
2
#include<iostream>
int main()
{
return 0;
}
3
#include<iostream.h>
int main()
{
return 0;
}
Thanks in advance.