On Thu, 16 Apr 1998, George Vieira - 8081 wrote:

> That is Borland C code (cout) .. I don't know if gcc supports Borland
> code??????
> 
> Have you tried printf or cprintf ?? Should work, well at least printf as
> cprintf is not part of the ANSI-C standard...

It was stock-standard C++ (non compilier-specific).

THe problem was in the way I was calling the compiler.

g++ (as opposed to cc) included the correct C++ library (libstdc++) by
default.

ie:  g++ -o t1 t1.cpp


   ("`-/")_.-'"``-._         Chris Cogdon <[EMAIL PROTECTED]>
    . . `; -._    )-;-,_`)   
   (v_,)'  _  )`-.\  ``-'    OzEmail Interline
  _.- _..-_/ / ((.'          76-78 Jolimont St. Jolimont VIC 3002 Australia
((,.-'   ((,/       fL       Phone +61 3 9654 0799      Fax +61 3 9654 0788


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to