[plug] g++
Craig Dyke
grail at enterprize.net.au
Mon Apr 21 22:04:35 WST 2003
I have been playing withh some C++ code lately and was trying to use
the new headers included with gcc 3.2.2
Now if I include<iostream.h> my program compiles but I get the warning that
I am using a deprecated header and should include<iostream> instead.
My problem is that when I do that I get an error saying that things like
cout are not defined?
Can someone point me in right direction?
Here is ever simple hello world that I ahve which does not work:
#include<iostream>
int main()
{
cout<<"Hello World!!\n\n";
return(0);
}
Suggestions are appreciated :)
Craig
More information about the plug
mailing list