[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: g++-3.2 problem



On Thursday 22 May 2003 10:56 pm, W. Paul Mills wrote:
> The following program compiles with g++-2.95, but not with g++-3.2. Any
> idea why? Use old style "#include <iostream.h>" and it works in 3.2.
>
> Paul
>
>
> // hello.C
>
> #include <iostream>
using std::cout; //now it will work. 

>
> int main(void)
> {
>   cout << "Hello World!\n";
>   return 0;
> }



Reply to: