Structure, American TV series This is not an OC thing, it is a data organization structure found in most languages; and a class is a pointer to a structure, so the class attributes are the attributes in the structure. A structure often describes a specific thing or a type of specific thing and can include attributes and behaviors. Enumerations are generally used to list all options for a certain value, such as the directions supported by a joystick: up, down, left, and right; then when selecting a value, you can single-select or multiple-select (up, down, up, left, down, right) , is also a means of limiting the value range.
Structure, American TV series This is not an OC thing, it is a data organization structure found in most languages; and a class is a pointer to a structure, so the class attributes are the attributes in the structure.
A structure often describes a specific thing or a type of specific thing and can include attributes and behaviors.
Enumerations are generally used to list all options for a certain value, such as the directions supported by a joystick: up, down, left, and right; then when selecting a value, you can single-select or multiple-select (up, down, up, left, down, right) , is also a means of limiting the value range.