cout << fixed

Steve Kettle
Thu Jun 3 10:01:00 GMT 1999

I'm using version 2.91.60 of egcs and the following does not compile
#include <iostream>
#include <iomanip>

int main()
	cout << fixed;

The compiler complains that 'fixed' is undeclared, isn't fixed is a 
standard manipulator?

If you do a
cout << ios::fixed;
the value 4096 is outputed.

What's going on?


More information about the Gcc mailing list