Can someone please help me with the piece of code...
cout << "How many items would you like to enter in the inventory?";
int arrayLen = reader2.readInt();
Menu *itemArray;
itemArray = new Menu[arrayLen];
for(int t=0; t<arrayLen; t++)
{
itemArray[t].newItem;
}
It skips over itemArray[t].newItem;
not sure how to fix this???
I would be thankful for any help.