Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!mcsun!hp4nl!sci.kun.nl!atcmpe!leo From: leo@atcmp.nl (Leo Willems) Newsgroups: comp.lang.c++ Subject: iostream behaviour Keywords: iostream Message-ID: <629@atcmpe.atcmp.nl> Date: 29 Jun 90 22:46:10 GMT Organization: AT Computing, Nijmegen, The Netherlands Lines: 29 The new iostream library behaves rather strange: filebuf fb; fb.open("", in); will connect fb to the current directory! Is this ment to be? (We use C++ 2.0 from Glockenspiel, a beta release for Sun sparc station, they added there own iostream headerfile, but I don't know if they changed the original iostream source.) Thanks. P.S. iostream is very nice, compared to stream. It also is fun, try this: main() { cout << cin.rdbuf(); } Leo Willems Internet: leo@atcmp.nl AT Computing UUCP: mcsun!hp4nl!kunivv1!atcmpe!leo P. O. Box 1428 6501 BK Nijmegen Phone: +31-80-566880 The Netherlands Fax: +31-80-555887