64,647
社区成员
发帖
与我相关
我的任务
分享
int main ()
{
cout<<endl<<"max of doube is: "<<(numeric_limits<double>::max)()<<endl;
return 0;
}
参考:
http://www.jeffhung.net/blog/articles/jeffhung/626/
#include <limits>
#include <iostream>
using namespace std;
int main ()
{
cout<<endl<<"max of doube is: "<<numeric_limits<double>::max()<<endl;
return 0;
}
# include <limits>
# include <iostream>
using std::cout;
using std::endl;
using std::numeric_limits;//这边改下
int main ()
{
cout<<endl
<<"max of doube is: "
<<numeric_limits<double>::max()
<<endl;
return 0;
}