On Friday 28 March 2003 11:11 am, O'Smith wrote:
Steven, This is my most basic "hello world" in c++. How does yours differ?
#include
int main() { cout << "Hello World!\n"; return 0; }
Patrick
Perhaps you have deprication messages turned off, or you don't care about
them. I understand this will compile. I just want to know what Stallman et
al think I /should/ be doing.
This is what I get with your code:
g++ hello.cpp
In file included from /usr/include/g++/backward/iostream.h:31,
from hello.cpp:1:
/usr/include/g++/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