Custom Data Types & Object-Oriented Programming in C
An interactive lab for embedded engineers. Visualize memory, simulate bugs, explore design patterns — all in the browser, no setup required.
Progress dashboard
Completion
0%
Lessons done
0 / 8
Best quiz score
—
Learning roadmap
1
Why custom types?
Data grouping, state tracking, and the limits of raw types.
2
Custom types deep-dive
typedef, enum, struct, union — and the tagged-union pattern.
3
Struct memory lab
Alignment, padding, packed structs, and six memory bugs.
4–5
OOP in C
Objects, methods, self, encapsulation, and opaque handles.
6–7
Polymorphism
Function pointers, ops tables, callbacks, and composition.
8
Pitfalls
20 interactive warnings: the things C will not protect you from.
9
Design playground
Assemble your own design and study the generated C listing.
10
Final quiz
14 shuffled questions across every module.