Errors:
~> g++ ssstring.cpp ssstring.cpp: In function ‘int main()’: ssstring.cpp:12:31: error: ‘setprecision’ is not a member of ‘std’ ssstring.cpp:12:52:
You need to include header <iomanip> for std::setprecision and <limits> for std::numeric_limits. These references tell you which header to include.
<iomanip>
<limits>