#include <iostream.h>#include <limits.h>int main(){char c='\\';cout<<c<<endl;cout<<"'\\'"<<endl;cout<<"int size="<<sizeof(int)<<endl;cout<<numeric_limits<int>::max()<<"is the maxinmum int"<<endl;}这个要怎麼才能输出啊? cout<<numeric_limits<int>::max()<<"is the maxinmum int"<<endl;不是在<limits.h>裏面的吗?
1 回答

慕侠2389804
TA贡献1719条经验 获得超6个赞
#include<limits>
using namespace std;
cout<<numeric_limits<int>::max()<<"is the maxinmum int"<<endl;
limits.h 是C头文件,不包含
numeric_limits<int>::max()函数
- 1 回答
- 0 关注
- 138 浏览
添加回答
举报
0/150
提交
取消