Re: iostreams in 2.0

New Message Reply Date view Thread view Subject view Author view

Kent Watsen (watsen++at++coryphaeus.com)
Wed, 29 Nov 1995 11:16:03 -0800


You have to #include <iostream.h> and link with the C++ compiler...
or be sure to instantiate an instance of Iostream_init before your
first iostream call. Iostreams are MP safe.

On Nov 29, 8:32am, Randall Barker wrote:
> Subject: iostreams in 2.0
> Yesterday, we finally got Performer 2.0 beta (a151) installed on my system.
 I
> started working with some of the exaple code in:
> /usr/share/Performer/src/pguide/libpf/C++
> The programs that the Makefile built a ran fine. When I added a cerr to
> complex.C, compiled it than ran, it core dumped. Cout and even cin had the
> same effects. It had the same effects in the other sample programs that
> compiled. Is this a bug, or am I doing something really wrong here? I did
> skim through most of the InSight pages Yesterday and say no reference in the
> C++ section about not using iostreams...
> Thanks -Randall
>

-- 
             ___________________________________________
             -------------------------------------------
             ||  ||  ||      Kent Watsen      ||  ||  ||
             ||  ||  ||  Coryphaeus Software  ||  ||  ||
             ||  ||  ||   408.395.6351 x223   ||  ||  ||
             ||  ||  || watsen++at++coryphaeus.com ||  ||  || 
            /-------------------------------------------\
-------------------------------------------------------------------------

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:04 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.