The goal of any programmer is to unlock the secrets of the bit.
Bit- A single bit in a data type, like a integer.
- In C++ they are accessed with bitwise operations.
- A bitmask is a integer that select a number of bits. Ex 0x4 select the third bit.
- Bit Fields - 2013
Boolean- A true or false value.
- In C++ it's stored in a int and 0 is false and everything else is true.
Integers
- Integer is a data type that represents a subset of whole numbers.
- Unsigned can only contain non-negative numbers. Signed can have both positive and negative values.
- Width of an integral type is the number of bits it use.
Real numbers Text