c++ prime plus 3.1
来源:互联网 发布:茂名行知中学以前是 编辑:程序博客网 时间:2024/05/20 08:41
3.1
#include<iostream>#include<climits>int main(){using namespace std;int n_int = INT_MAX;short n_short = SHRT_MAX;long n_long = LONG_MAX;long long n_llong = LLONG_MAX;cout << "int is " << sizeof (int) << " bytes." << endl;cout << "short is " << sizeof n_short << "bytes." << endl;cout << "long is " << sizeof n_long << "bytes." << endl;cout << "long long is " << sizeof n_llong << "bytes." << endl;cout << endl;cout << "Maximum values: " << endl;cout << "int: " << n_int << endl;cout << "short: " << n_short << endl;cout << "long: " << n_long << endl;cout << "long long: " << n_llong << endl;cout << "Minimum int value = " << INT_MIN << endl;cout << "bits per byte = " << CHAR_BIT << endl;system("pause");return 0;}
0 0
- c prime plus的副作用
- c prime plus的笔记
- c prime plus第八章
- c prime plus 第十二章
- C Prime Plus第十三章
- c++ prime plus 3.1
- c prime plus (第十七章 高级数据结构)
- c prime plus 的内存,储存,链接
- C Prime plus 第六章习题
- c prime plus第十四章练习题
- 开始新篇章--C语言编程-基于C Prime Plus
- 【C Prime Plus】学习笔记,Chapter 10,数组初始化问题
- C++prime plus第6版第三章要点
- c++ prime plus 2.2
- c++ prime plus 3.2
- c++ prime plus 10
- 读《C Prime Plus》有感1——C动态链表释放内存问题
- C++ Prime Plus 学习有感
- Spring--IOC及Bean容器
- 关于TCP和UDP的服务器和客户端的执行步骤
- cordova-plugin-splashscreen插件使用时显示OOM
- hdu 5113 Black And White
- eclipse 建立jar软链接 hadoop jar包整理
- c++ prime plus 3.1
- 微信小程序入门教程
- FMDB给表添加新的字段
- c# 调用c/c++ dll 参数问题
- 【51nod】1291 Farmer 【求n*m的矩形内全1的i*j的矩形个数】【dp】
- 创建文件(很容易失败)
- mybatis常用分页插件,快速分页处理
- SVN中各种符号箭头含义
- JedisClusterMaxRedirectionsException: Too many Cluster redirections?