On Friday 28 March 2003 15:13, Steven T. Hatton wrote:
I tried to write the most basic hello world program I know of in c++ and I am getting deprication messages from gcc when I compile. Looking through the the documentation I have on line has merely lead to several levels of indirection. What am I supposed to use insted of <iostream.h>? And where do I find documentation on this which won't take me an hour to figure out how to use basic standard in and standard out?
Show us the code! My guess is you are actually using <iostream.h> instead of <iostream>. For me, compiling: #include <iostream> int main( int argc, char *argv[] ) { std::cout << "derek" << "\n"; return 0; } with: g++ -o iostream iostream.cpp works fine. -- "...our desktop is falling behind stability-wise and feature wise to KDE ...when I went to Mexico in December to the facility where we launched gnome, they had all switched to KDE3." - Miguel de Icaza, March 2003