Kevin Mark wrote:
#include <iostream.h>
int main() { cout << "Hello, World!\n"; return 0; }
~/cpluscplus\% g++ page23.cpp
In file included from /usr/include/c++/3.3/backward/iostream.h:31, from
page23.cpp:1:
/usr/include/c++/3.3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one
deprecated or antiquated header. Please consider using
one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or
<sstream> instead of the deprecated header
<strstream.h>. To disable this warning use
[...]
I installed libstdc++ and gcc versions 2.95,3.2,3.3
WHAT FILES DO I HAVE TO CONFIGURE OR INSTALL!
TIA
-Kev
Just READ the error message is says pretty clear that you should use
<iostream> INSTEAD of <iostream.h>.