[comp.lang.c++] Problems this STDIN,STDOUT ...

hoelling@tuhold (Wolfgang Hoellinger) (11/22/88)

!!!!!!   HEEEEEEEEEEEEEEEEEEEEEEEEEEEELP !!!!


I use C++ (designer C++, release 1.2) on a Sun3/50 and I
have big problems with STDIN, STDOUT and STDERR.
Whenever I call a programm written in C++ in conjunction
with any other program that changes STDIN, STDOUT or STDERR 
(e.g. script) I get a segmentation fault.
This happens in the '_entry'-procedure generated by the
C++-Precompiler/Linker, although I never use things like
cin, cout or cerr.

So my questions are:

 1.) Does anybody know this problem? 
  
 2.) What are the reasons for that 'segmentation fault' ?
     (CTOR of CIN,... in libcxx?)   
   
 3.) What is the solution, to prevent this?
     Does somebody know a workaround for that 
     problem?
 
   
Wolfgang Hoellinger
Technical University  Vienna
AUSTRIA

hoelling@tuhold.uucp
tuvie!tuhold!hoelling