Matthew C. Tedder said:
>
> Why does g++ tell me that the <iostream.h> header has been depricated?
>

#include <iostream>
int main()
{
   std::cout << "Hello world" << std::endl;
   return 0;
}

or

#include <iostream>
using std;
int main()
{
   cout << "Hello world" << endl;
   return 0;
}


It is now in C99 standard.



Reply via email to