int So, primitive type besides those three types, we have ints which are just integers which are similarly 32 bits.
除了这三种类型外,还有一种最原始的数据类型,32比特整数。
This is useful especially when we get to details like forensics and looking at data on a hard drive, - 'cause if you don't know how much store-- how many bits are composing your file, you're never gonna recover that data or be able to access what you're looking for.
这是很有用的,尤其是在法庭上,查看硬盘驱动器里的数据时,如果你连-,文件有多少比特都不知道,你如何去恢复数据,获取你想要的信息呢。
So, a 32 bit of float gives you a bunch of precision.
2比特的浮点型数据精度更大。
This is convention, so on almost-- and most any computer you overuse, if you're writing code that uses a char, you're gonna be handed 8 bits or 1 byte to store that particular char.
这是约定,对于大多数-,电脑,当你写代码要用到一个char型数据时,必须先预留8比特或1字节,的空间来存储这个char型数据。
So a char size is 1 byte or 8 bits.
一个char型数据占据1字节或8比特。
应用推荐