whm@sunquest.UUCP (Bill Mitchell) (07/16/88)
I have to think that I must have done something wrong when I installed g++
and libg++, but this program:
#include <stream.h>
main()
{
cout << "hello world\n";
}
produces no output on my system (the <CR> after a.out is followed by a shell
prompt). If change it to:
#include <stream.h>
main()
{
cout << "hello world\n";
cout << 1;
}
it works as expected. This with g++.1.22.1 (built from gcc.1.22) and
libg++.1.22.0 on SunOS 3.5 on a 3/280. Is this a known problem or have I
likely fouled something up (like what?) or what?
Other more complicated C++ programs work without any problem.
Longing for just "hello world",
Bill Mitchell
Sunquest Information Systems, Tucson, AZ
sunquest!whm@arizona.edu
uunet!sunquest!whm
{allegra,cmcl2,noao}!arizona!sunquest!whm