> That is Borland C code (cout) .. I don't know if gcc supports Borland
> code??????
cout is standard iostream stuff in c++.
> From: Chris Cogdon [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 16, 1998 1:26 PM
>
> cc -o t1 -lg++ t1.cpp
Try compiling like so for c++ stuff:
g++ -o t1 t1.cpp
Compiled like that, the code runs fine.
When I attempted to duplicate the error he observed, I got a
'collect2: ld returned 1 exit status' message.
------------------------------------------------------------------------
David E. Fox Tax Thanks for letting me
[EMAIL PROTECTED] the change magnetic patterns
[EMAIL PROTECTED] churches on your hard disk.
-----------------------------------------------------------------------
--
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.