Index
- CS225 (OLD ONE IGNORE THIS)
- CS200 (IGNORE THIS TOO)
- GAM200 (YEAH, IGNORE THIS TOO)
- CS180
- Introduction
- Midterm Revision
- Finals Revision
- CS251
- Memory
- ELF Format
- History of Computers
- Stuff to Research
- Quiz To-Do
- OS Architectures
- Week 3
- Week 4
- Week 5
- Week 6 (Threads)
- Week 7 (Scheduling)
- Week 8 (Thread Scheduling)
- Week 9 (Memory Management)
- CS251
- CS225
Size/Offsets of Structs/Classes
2 Rules for placement of the objects in memory:1. Has to be aligned to size of largest element
2. Has to be starting on a multiple of its size.
Objects inherited from are placed BEFORE the objects inheriting and you have to pad to the largest system type of the object being inherited from.
vptrs are at the start.