首页 > 编程语言 > 详细

C++ notes for beginners(2)

时间:2014-08-25 11:37:34      阅读:198      评论:0      收藏:0      [点我收藏+]

Primitive Built-in Types

Type Implication Minimum  storage space
bool boolean NA
char character 8 bits
wchar_t wide character 16 bits
short short integer 16 bits
int integer 16 bits
long long integer 32 bits
float single-precision floating-point 6 significant digits
double double-precision floating-point 10 significant digits
long double extended-precision floating-point 10 significant digits

 

 

 

 

 

 

 

 

 

Integral types (except the boolean type) may be either signed or unsigned

Unlike other integral types, there are three distict types for char:

plain char equals to char

signed char

unsigned char

 

C++ notes for beginners(2)

原文:http://www.cnblogs.com/furzoom/p/3803295.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!