In this project, i need to define a struct (correctly done in here i believe), and pass in at least the functions getData, getMenu, and printCheck for a diner situation (pick off the menu, how many, check calculations, etc). It also needs to read in a infile with all the choices and prices (included). My instructor gave me some of the code, but I screwed up somewhere and nothing works. I'm not asking for stright up code (but wouldn't mind if needed), moreso just where/how i screwed up.
void getData(ifstream& inFile, menuItemType mList[], int listSize);
void showMenu(menuItemType mList[], int listSize);
void printCheck(menuItemType mList[], int listSize, int cList, int cListLength);
void makeSelection(menuItemType mList[], int listSize, int cList[], int& cListLength);
bool isItemSelected (int cList[], int cListLength, int itemNo);
int Main()
{
menuItemType menuList[not];
int choiceList[not];
int choiceListLength;