I just installed the latest version of the slackware distribution
with version 2.5.8 of the Gnu C++ compiler, `g++', and version 2.5.3
of the Gnu C++ library, `libg++'. I discovered the following problem:
unix% cat test.C
#include <stream.h>
int main(int argc, char** argv) {
cout << form("something\t")
<< form("and something else\n");
cout << "end of test\n";
}
unix% g++ test.C
unix% a.out
something something end of test
unix%
We have the same versions on our Sun 4 computers which produce
the correct output:
something and something else
end of test
Could someone please tell me how to fix or work around this problem?