Re: Bug? can't compile hello world

2001-12-22 Thread Phil Edwards
On Sat, Dec 22, 2001 at 08:20:38AM +0100, J.H.M. Dassen (Ray) wrote: > On Fri, Dec 21, 2001 at 23:34:20 -0500, Aaron Bentley wrote: > > [EMAIL PROTECTED]:~/programming$ g++ -V 3.0.2 hello.cpp > > Do "g++-3.0 hello.cpp" instead. Also, if you're using the "new-style" headers, you need to call std::

Re: Bug? can't compile hello world

2001-12-22 Thread J.H.M. Dassen \(Ray\)
On Fri, Dec 21, 2001 at 23:34:20 -0500, Aaron Bentley wrote: > [EMAIL PROTECTED]:~/programming$ g++ -V 3.0.2 hello.cpp Do "g++-3.0 hello.cpp" instead. HTH, Ray -- Brought to you by Microsoft .NOT technology: just say No.

Bug? can't compile hello world

2001-12-21 Thread Aaron Bentley
Hi there, I've installed the g++-3.0 package (and everything it depends on, of course), and I can't compile a hello world program. Everything works fine when I compile with 2.95. I think this must be a bug. . . Here's the code: -- #include int main(void) { printf("Hello World!\n"); } -