Lesson 8: Complementary Counting

Outline:

  1. Lab 3 debrief and byte ordering
    • Unicode: UTF-8, UTF-16BE, UTF-16LE
    • byte ordering for characters, numbers
    • example: show_bytes.c
  2. Number representations
    • unsigned integers
    • example: integers.c
    • signed integers
    • converting between signed and unsigned

Reading assignment (to be completed by the next class):

  • Bryant & O’Halloran Sec. 2.3.1–2.3.3 (p. 84–96)
  • Bryant & O’Halloran Sec. 1.1–1.3 (p. 2–7)