[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug? can't compile hello world



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:
> > abentley@eagerbeaver:~/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::printf, not just printf.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



Reply to: