guys please help me T_T
im currently stuck on string, it takes too many line.
here is my sample:
char breadmenu[breads][menumax+1];
strcpy (breadmenu[0],"Parmasan");
strcpy (breadmenu[1],"Gralic");
strcpy (breadmenu[2],"Black Papper");
strcpy (breadmenu[3],"Almond");
char meatmenu[meats][menumax+1];
strcpy (meatmenu[0],"Chicken Steak");
and so on.... i have like 20 or 30 of these. im just wondering if there is anyway to shorten it.
i know tha in 2 dimensional array we can always do like this:
int x[2][3] = {{1,2,3},{4,5,6}}
but i do not know if it can be apply to my question
thanks in advance *sob*