Name: Anonymous 2011-12-19 2:28
so I was thinking of making a class "Meal" that would contain the properties of the food required to make the instance of a meal to be made. I'v hit a stump however and am not sure how i would include the ingredients into the class
If I define say, 3 strings to be ingredient 1, 2, and 3 know I'm going to find a meal that has more then 3 or less then 3 ingredients to make.
Is there a more efficient way to define my class properties as food ingredients, or am I missing something?
also: just finished first semester so yeah I am quite sure this is a no brainer for some, just not me.
If I define say, 3 strings to be ingredient 1, 2, and 3 know I'm going to find a meal that has more then 3 or less then 3 ingredients to make.
Is there a more efficient way to define my class properties as food ingredients, or am I missing something?
also: just finished first semester so yeah I am quite sure this is a no brainer for some, just not me.