This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cout << fixed


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?

Steve.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]