Subject: Re: C++ prob: setbase ?
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Guenther Grau <Guenther.Grau@marconicomms.com>
List: netbsd-users
Date: 04/04/2000 17:28:26
Hi Hubert,

Hubert Feyrer wrote:
>         #include <iostream.h>
>         int main()
>         {
>           cout << showbase << hex << 14 << endl;
>         }
> 
> But no C++-compiler I'm using (gcc 2.95.2, ...) seems to know that. Does
> anyone happen to know what I'm doing wrong?

This seems to be a recent feature of C++. On Solaris, the older
CC (4.2) doesn't recognize this statement, only a more recent
(and more ANSI C++ compliant) version (5.0) works without errors.

Dunno if this is of any help, though ...

  Guenther