Ok when I run this it seems to work fine till the input loop goes and repeats. It then skips over asking for the name of the company and goes straight to weight. I've tried the different ways of getting input (at least ones that are at my skill level as of right now). The best solution I've found was to use the following.
getline(cin, pizza[i].pizzaCompany, '\n');
I'm currently using the c++ primer 3rd edition and in the chapter that introduces strings it also introduces pointers. I understand pointers at least in plain english but have yet to understand the syntax. So how do I get this to work? And whats the best way to implement pointers in this example? Such as can I use pointer arithmetic to go through the array instead of using a for loop.