Mail Archives: djgpp/2000/03/17/20:08:06
>You can use
> #include <iostream>
>, although not _all_ standard C++ headers are present at the current
>time.
>
Okay, but I still don't get it why I can't use the fixed and scientific
manipulators from <iomanip>
I found <iostream> and <iomanip> in my installed library, so I'm sure I have
them. However, the following code results in a message that the identifier
'fixed' is undeclared:
#include <iostream>
#include <iomanip>
using namespace std;
...
...
...
simple code to compute the area of a circle;
cout << fixed << area << endl;
This code works fine when I compile it with MS Visual C++, so I know I don't
have other problems with it. Why won't DJGPP include the manipulator 'fixed'?
It doesn't work for 'scientific' either?
RoadRaat
- Raw text -