struct needs help
<p>I have a function that receive a struct as an argument, 
my struct is to store data input from user.
Data include choices of cake items sold in my store. and for lack of imported products from producers (Tsunami and equake in Japan), only one choice is allowed for each customer</p>

<p>Each choice again includes different categories of cakes</p>

<p>I define a choice as a struct, and a category of cakes also a different struct, both of which is store in another struct.  I'd like to make this an argument for my function. Because of a single choice permitted as mentioned to be initialized in the struct, I am unable to figure out how to optimize it away into one function only?  </p>

<p>Cold you share a neat solution to this little problem ?</p>
