01 // PROJECT AT A GLANCE
C POOL — DAY 09
CGrouping 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
03 // KEY OUTCOMES
- Bitwise manipulation of a 32-bit colour
- Concrete discovery of endianness
04 // SOURCE TREE
READING SOURCE…