0
Why this app not accepting setprecision
3 Respuestas
+ 14
#include <iostream>
#include <iomanip>
// ...
std::cout << std::fixed << std::setprecision (your desired precision);
// ... do stuff
+ 10
Works just fine for me. You might have to post your code for inspection.
+ 7
You don't show code so I'm just guessing, but you may need to #include <iomanip>