std::fixed compile error
Posted: Fri Apr 30, 2004 6:59 pm
Hey, I'm trying to submit a problem but the online judge doesn't recognise the std::fixed, I use it in the following line:
I also have include of the iostream and iomanip (besides others needed for the problem).
The online judges says:
Thanks for your attention.
Code: Select all
std::cout << std::fixed << std::setprecision(4)<< distances[i] << " ";
The online judges says:
Does anyone have any ideia of what might it be?02493452_24.c: In function `int main()':
02493452_24.c:47: `::fixed' undeclared (first use here)
Thanks for your attention.