‘setprecision’ is not a member of ‘std’

You need to include header <iomanip> for std::setprecision and <limits> for std::numeric_limits. These references tell you which header to include.

Leave a Comment