PROJECT DOSSIER // [C POOL — DAY 09]VIEW SOURCEBACK TO PROJECTS →

01 // PROJECT AT A GLANCE

C POOL — DAY 09

C

Grouping data that belongs together, and discovering that byte order is not universal.

Structures let you manipulate a complete object — a colour, a point, a player — rather than a handful of scattered variables. The day ends on a curiosity that always surprises: depending on the machine, the bytes of one and the same number are not stored in the same order.

Defining structures and unions, headers with macros, and colour manipulation with endianness swapping.

PRIMARYC
DELIVERYTEAM RECORD
VERIFICATIONgcc/g++
SOURCEINSPECTOR READY
MEDIA ATTACHMENTS (Images, Photos, Videos)

03 // KEY OUTCOMES

  • Bitwise manipulation of a 32-bit colour
  • Concrete discovery of endianness

04 // SOURCE TREE

READING SOURCE…