A structure is just a grouping of items. You group them by calling them a struct <name> and surrounding them with a pare of braces:Then you simply declare one when you want to use it:Code:struct yourstructname { ...everything you want to group... };To access the items you have grouped, you use the dot operator:Code:struct yourstructname yourvariablename;Code:struct ysn yvn; yvn.thingigrouped1 = somevalue; someothervalue = yvn.otherthingigrouped2;
Quzah.