Main.cc: In function ‘int main()’: Main.cc:15:22: error: ‘setprecision’ was not declared in this scope cout << fixed << setprecision(2) << (double)total / N << endl; ^~~~~~~~~~~~