Hank D
5
Q:

‘setprecision’ was not declared in this scope

//You have to include header file
#include <iomanip> 
2
int x = 109887;
cout << fixed << setprecision(3) << x;
3

New to Communities?

Join the community