Swaminathan N. (swami++at++evl.uic.edu)
Mon, 4 Aug 1997 18:12:11 -0500 (CDT)
>
> > >
> > > Any ideas why cout doesn't work?
> > > has anyone else had this problem?
> >
> > Stick in Iostream_init() just after pfInit()
> >
> > Swami
>
> I am pretty sure this very problem was discussed in this group a few _years_
> ago. If memory serves...
>
> I still think the original poster was _LINKING_ (not compiling) with cc.
> This call to Iostream_init() should not be necessary if linked with CC.
>
This is an area where I'm very fuzzy about, trying stuff till it works and
never bothering to find out why it didn't work. The original poster said that
he had linked with CC, and not cc, if I'm not mistaken, which is why I threw
in the Iostream_init() suggestion.
I can vouch for the fact the it is not only a linking issue, since my app
core dumps without Iostream_init(), and I'm linking with CC.
I remember reading vaguely about observing caution when using stdio with
iostream. Maybe the real reason lies there. I'll try to track it down.
bye
Swami
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
v Swaminathan Narayanan ^
v swami++at++evl.uic.edu ^
v Office: 996-3002 ^
v Home: 850-2726 ^
v http://www.evl.uic.edu/swami ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:42 PDT