Structure

Top  Previous  Next

Simplified, a C structure is a set of values (=members) in a contiguous block of memory. A structure is accessed through its address in memory, its member values are accessed through their offset from this address. A Cockpit structure is an object with instance variables (=members). The methods necessary to work with it like a real C structure are inherited into the structure object from Cockpit's ExtendedStructure class. See Structures for details.