int、unsigned int 、long、unsigned long 、short、char、signed char、bool、 long long float、double、long double 等
无符号的数据类型 主要在于 不在区分 + -,数据波动范围变大。另外,值得注意的是 unsigned 类型的数据 不建议在输出语句上进行运算 0-1会出现异常
short max_short = ZERO;unsigned short max_unshort = ZERO ;cout << "max_short 0 - 1:" << max_short-1 <
auto 声明变量:auto n = 1 / 1.52 / 1.e12vector
#include
cout<
上一篇:Nginx安装