Different number systems:

  • Decimal
  • Octal
  • Hexadecimal
  • Binary

The range of an int in C++ is . This is because the leftmost bit is assigned for negative values.

Design principles:

  1. Simplicity favors regularity
  2. Smaller is faster
  3. Make the common case fast
  4. Good design demands good comprimise