- 博客(0)
- 资源 (6)
- 收藏
- 关注
纯英文版 C-FAQ chm
Question 1.1
Q: How should I decide which integer type to use?
--------------------------------------------------------------------------------
A: If you might need large values (above 32,767 or below -32,767), use long. Otherwise, if space is very important (i.e. if there are large arrays or many structures), use short. Otherwise, use int. If well-defined overflow characteristics are important and negative values are not, or if you want to steer clear of sign-extension problems when manipulating bits or bytes, use one of the corresponding unsigned types. (Beware when mixing signed and unsigned values in expressions, though; see question 3.19.)
2009-01-01
明明白白C指针---详细
!
$%&' $%()*&'+,-./&01+ 2345678
;8?@A#
@#
BCDEFG<@AHIJK3LMNOPQRSBTU
V
WX$%;8
2008-12-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人