June 2025
Intermediate to advanced
1093 pages
33h 24m
English
AggregateAn aggregate is a simple bundling of multiple data fields into a new type—specifically, a struct that only has data fields and methods. A C-array is also an aggregate.
structA struct is a bundling of data fields. It may also have constructors, and private and static elements. It can be a simple aggregate or a more advanced structure.
classA class is very similar to a struct, except that class starts with private visibility; in common usage, a struct is more data-focused, while a class is more behavior-oriented.
StructureA structure can be more than an aggregate; for example, it can have constructors. When I speak of a structure, I usually refer to both struct and class
Read now
Unlock full access