My intern just asked me how I'd implement a menu system. I sketched out an idea based on an array of structures, with the menu being defined at compile time (it won't change dynamically). He left, and ...
Structures (or “structs” in C) allow you to group several related variables and treat them as one unit. They are a mechanism for extending the type system of the C language by introducing user-defined ...