C++ compilation problem

From: Hallstein Lohre <hallstein.lohre_at_alphasystem.no>
Date: Wed, 19 Feb 2003 14:48:59 +0100

Hello,

 - Tru64 V5.1A, patches OK, latest C++


#include <iostream>
int main()
{
std::cout << "Hello\n";
return 0;
}
cxx: Error: test.cpp, line 5: namespace "std" has no member "cout"
std::cout << "Hello\n";
-------^
cxx: Info: 1 error detected in the compilation of "test.cpp".
I'm quite shure this used to work :-)
Any ideas ?
Regards,
Hallstein Lohre
Alpha System AS
Received on Wed Feb 19 2003 - 14:12:40 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT